[jQuery] addClass() not executing until cursor enters confirm() box.

[jQuery] addClass() not executing until cursor enters confirm() box.


Hello,
I have the following code:
http://www.pastebin.ca/609684
When someone clicks the appropriate element I want the row of that
element to change its background. But what happens is that when they
click the link the confirm box is created but the row for that element
doesn't change until the mouse enters the bounds of the confirm() box.
Why? Shouldn't it change before the box appears?
Thanks,
Chris.