I have noticed a strange thing happening in jQuery and wonder if anyone knows why?
Upon clicking the following anchor tag
<A ID="catchme" HREF="#">Add Row</A>;
,
my jQuery script will catch the click and display a hidden table row. The problem is the considerable lag to the redraw operation. Additionally, none of the animations will work on the element being displayed.
However, when I use a <DIV> or <SPAN> to catch the clicks (i.e. styled as a fake text link), the animations work a treat!!
I was also using e.preventDefault() on the HREF to stop it from following the HREF's link. Removing e.preventDefault() did not fix the problem.
This issue occurred on IE7 and FF3.5 using jQuery 1.3.2.
Does anyone know how to fix this issue from anchor tag clicks??