[jQuery] IE takes link when firing onclick event
Hi guys,
New to jquery but really loving it so far. I've done some code that
seemed to work in all tested browsers, except IE
The code:
$("a.more").click( function(){
$("a.more").css("color","red").css("font-style","italic").css("font-
weight","bold");
$("dl.hidden").show("slow");
return false;
}
I am returning false, so the default behavior should've be nullified,
but IE still "insists" on taking the link to a non-existing page (and
displays an error). any help with this matter is dearly appreciated. I
will update if I find the solution. Thanks all.
*QuEz*