Return to Snippet

Revision: 53142
at November 15, 2011 00:32 by erraja_07


Updated Code
---- HTML -----
<input type="text" onKeyPress="SearchName(event)">

---- JS -----
<script type="text/javascript">
function SearchName(e) {
alert(e.keyCode);
}
</script>

Revision: 53141
at November 15, 2011 00:31 by erraja_07


Initial Code
<input type="text" onKeyPress="SearchName(event)">
<script type="text/javascript">
function SearchName(e) {
alert(e.keyCode);
}

Initial URL

                                

Initial Description

                                

Initial Title
JS - Event Handler - supported in all browser

Initial Tags

                                

Initial Language
JavaScript