Can anybody tell me why is this not working?
<input name ="txtChat" id ="txtChat" onkeydown ="isEnterPressed();" type="text" style="width:720px;"/>
This is my javascript function :-
function isEnterPressed(event){
alert(event);
}
On alert i always gets undefined :(
Thanks in advance :)