I'm trying to figure out a click function that would execute a js function
twice with, say, a 500 ms delay between each when the user clicks on an <a
href>.

The js function i want to execute twice is document.movie.SetURL - would
something like this work?:

$(document).ready(function () {
 $("a").click(function () {
    document.movie.SetURL;
          delayedClick();
    });
});
 function delayedClick()
        {
           var t=setTimeout("document.movie.SetURL",500)
        }

Thanks...

Reply via email to