Results 1 to 2 of 2

Thread: Clinet side scripting

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Location
    India
    Posts
    85

    Post

    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!

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    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

    ------------------
    [email protected]
    [qualifications and/or certifications here]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width