Hello:
I'm having a problem with a simple javascript code that checks if the
enter key had been pressed or not. The code works propertly in mozilla,
but in iexplorer it only works one time, the second one the event isn't
throw any more, and I can't catch it.
Anyone can help me?
this is the sample code
function searchIntro(oEv ent)
{
if (oEvento.keyCod e)
iAscii = oEvent.keyCode;
else if (oEvent.which)
iAscii = oEvent.which;
else
return false;
if (iAscii == 13)
{
sendData();
}
}
<input type="text" id ="textBoxNam e1" name="CCO" size="69"
onkeypress="Sea rchIntro(event) "></tr>
Thanks a lot