Vuoi eliminare quel carattere?
<input type="text" ... onchange="this.value = this.value.replace(/\'/g, '');">

dentro la parentesi:
slash backslash apice slash g virgola (spazio) apice apice