Opened 15 years ago
Closed 15 years ago
#3179 closed bug (notabug)
IE 6/7 setInterval/setTimeout scope problem
Reported by: | greenone | Owned by: | paul |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.core | Version: | 1.5.2 |
Keywords: | ie6, ie7, internet explorer, scope, setInterval, setTimeout | Cc: | |
Blocked by: | Blocking: |
Description
if you're calling a function via setTimeout/setInterval in IE6/7 and you're using jQuery within the function called it is not recognized and leads to an error.
example:
<div id="bar">...</div> <script type="text/javascript"> function foo() { $('#bar').hide(); } setTimeout("foo()", 1000); </script>
Note: See
TracTickets for help on using
tickets.
Try posting in jQuery core's trac.