<html >
<SCRIPT LANGUAGE="JavaScript">
function test() {
alert("test ");
}
</SCRIPT>
<form >
<input type="text" />
<input type="submit" value="Find FA#/RMA#" onClick="test()"/>
</form>
</body>
</html>
I wanted to call the js method when i hit enter key from the text field. Where did i go wrong ?
It works good on FireFox and fails on IE
Thank
SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)