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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with onchange event in IE 5

Status
Not open for further replies.

lpatnaik

Programmer
Jul 11, 2002
53
0
0
Hi,

I have a textbox in a page. I want to track the onchange events and populate a global variable. But in IE 5 I am facing some problem. The event doesnt fire. I have no idea about the solution. Could anyone help me out.

Also i cannot use the onblur event (which seems to be working fine) as only if there is some editing done that the variable needs to be populated. Hope I am being clear enough.
 
Maybe onKeyUp will work for you? Hope I helped / Thanks for helping
if ((Math.abs(x)<10&&Math.abs(y)<10) && (((parseInt(Math.abs(x).toString()+Math.abs(y).toString())-Math.abs(x)-Math.abs(y))%9)!=0)) {alert(&quot;I'm a monkey's uncle&quot;);}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top