I'm new to JQuery... this code doesn't work in IE7 but does in FF & Chrome. It says its giving me a syntax error, help!
$(function(){ $("#bClose").click(function() { $("#ContactRepeat").slideUp("normal"); });
$("#bContact").click(function() {
if ($("#ContactRepeat").css("display") == "display"){
$("#ContactRepeat").slideToggle("normal", function(){
$("#ContactRepeat").slideToggle("normal");
});
}
else {
$("#ContactRepeat").slideToggle("normal");
}
return false;
});
});
I'm using jQuery 1.2.6. Thank you for your help ahead of time