web hosting and development forums
Web Design and Development Forums Archive


Index - JavaScript forum

using onkeypress event call a function


Post reply

Hi, i am using onkeypress event to call a function I have an alert to display the keyCode Of the key pressed But on pressing "tab " in IE it doesnt alert Nor does it give any error any advice On how to detect whether the tab key is pressed or not But its working good in firefox How to detect the tab value? Is there any way to get back focus on to the previous element? Like if i have two textboxes , to get back the focus on to the 1st textbox from the 2nd one on an event? Nobody to clear my doubt??????????? Anybody please answer my question ....




Dubai Forum | Paris Forum | Webmaster Forum | Vegan Forum | Brisbane Forum | 3D Forum | Jobs in Dubai | Jobs in London | London UK Classifieds
Archive script by RedHo.com