html onfocus tab vs page load -


Assume that I have a focus event for the text box. The event is triggered when the Users tab is in that box, As expected, but it also seems that the event is triggered when the box is selected, and then the window is covered and then opens tabs, opens a second app off, etc. One way to do this is to trigger the event by clicking the tabbing (or mouse click) text box, and not highlighting the window?

You can use an onClick event, Will not trigger tabbing, trigger You can also use onKeyDown which will trigger on any major press, but whenever the user triggers the tabs away from the text box.



Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

c# - Confused over DLL entry points (entry point not found exception) -