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

netscape delayed form reset

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have this problem where the html form reset in netscape is delayed somehow and executed after the statements that follow it in the code.

Ex.
1.- form.reset();
2.- write some value to a form field.

Well, statement 2 gets executed before the browser resets the form.

I know about doing puttint statement (2) inside a setTimeout call. This works ok except that in my case, functions are nested enough so that the setTimeout causes some side effects that lead me to a worse scenario.

I am wondering if there is any other solution to this problem other than the setTimeout one?

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top