Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Priority in the events ?

Status
Not open for further replies.

Maxime

Programmer
Aug 21, 2000
1
DE
Hello !
Does anybody know how to set the priority of the events in Javascript ?

I have a HTML tag like this: < INPUT type=&quot;text&quot; name=&quot;choice&quot; onChange=&quot;FunctionChange()&quot; onKeyUp=&quot;FunctionKeyUP()&quot; >

I want that the event onKeyUp (and its associated function) will be called in priority (before the event onChange...)

Is it possible?

please help me!

Thanks in advance,
Maxime
 
i only used &quot;onchange&quot; in <select><option></option></select>
maybe others will give you better answer.
 
That's the way it works already, since the onChange event doesn't fire until the field loses focus.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top