View Single Post
Old 09-16-2013, 12:18 PM
pgollnic pgollnic is offline
Join Date: Jul 2012
Posts: 2
Default javascript and Chrome

Why does not CHROME recognize this?

<script type="text/javascript" language="javascript">
function convertquotetospace()
{ if (event.keyCode == 39) { event.keyCode = 94; } }
document.onkeypress = convertquotetospace;

In every other browser if a ' is entered it converts it to a ^

why .. or what else to do? I want it in the html

Reply With Quote