View Full Version : even.keyCode=9 tab event donsent work in FireFox

05-17-2007, 11:46 AM
I am having trouble in calling tab event using my own function.
i call tab event using
event.keyCode = 9;
but firefox gives this error "Error: event is not defined".

What to do? plz help.

05-17-2007, 03:27 PM
You have to pass the event object to the function. That's the cross-browser way to do it.

function fKeydown(evt){

<input type="text" onkeydown="fKeydown(event)" />

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum