[jQuery] Problem with window focus event in Firefox 3.5/Win Vista?

2009-12-23 Thread paul s
Hi folks, I'm having a problem using: jQuery(window).bind(focus, function(event) { alert(test); }); in Firefox. I'd expect a single alert box when I focus on the window. However in Firefox I get 4 alert boxes in a row? IE6, 7 and 8 are fine with this and produce the expected, single alert

Re: [jQuery] Problem with window focus event in Firefox 3.5/Win Vista?

2009-12-23 Thread Leonardo Balter
Try the .one( event type, callback fn ) method 2009/12/23 paul s pksole...@gmail.com Hi folks, I'm having a problem using: jQuery(window).bind(focus, function(event) { alert(test); }); in Firefox. I'd expect a single alert box when I focus on the window. However in Firefox I get 4