PDA

Click to See Complete Forum and Search --> : Clinet side scripting


ramdasv
Oct 21st, 1999, 03:06 AM
What ever vbscrtipt events I code in html is being fired twice
like if I get a message box on widows onload it is showing the message twice.

Why ?

I need to call the event only once!
Please help me

Thanks!

Clunietp
Oct 21st, 1999, 09:37 PM
I won't speculate on why your events are firing twice, but as a workaround, you could use a global variable on each page. Once the event fires the first time, the global variable is set to "True" or 1. When the event fires, it will check for a value of "True" or 1 and not fire.

HTH

Tom

------------------
Clunietp@yahoo.com
[qualifications and/or certifications here]