setTimeout doesnt work..

Discussion in 'JavaScript' started by bartolay13, Nov 8, 2007.

  1. #1
    calling under function is this,
    works on Firefox but not on IE 5.5, 6.0 or 7

    t=setTimeout("ajaxFunction()",1000)

    need help about this topic
    thanks in advance..
     
    bartolay13, Nov 8, 2007 IP
  2. bscdesign.com

    bscdesign.com Active Member

    Messages:
    681
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #2
    You don't need to store it in a variable. Just use:
    setTimeout("ajaxFunction()",1000);
     
    bscdesign.com, Nov 10, 2007 IP