I think you maybe want this.blur() instead of $(this).blur()

--Erik


On 6/13/07, Sergei <[EMAIL PROTECTED]> wrote:

Hello,

I have a problem in MSIE 6 using such code:

a href="..." onclick="myaction(); return false;"

JS:

function myaction() {
$(this).blur(); // blurs a whole window in MSIE6!
...some animation and another actions...
}

The problem is, that in MSIE6

$(this).blur();

blurs NOT the link, but a WINDOW. What's a workaround? Or is this a
bug?

Note that it works in Firefox 2 and Opera 9.


Reply via email to