[jQuery] Browser locking up -- please help!
Thanks for Viewing,
I have one page that locks up all browsers except Mac/Safari. It was
more complex, but I whittled the jQuery code down to the bare
essentials. Even though it's super-simple now, it still hangs for 15
seconds (FireFox is completely non-responsive during this) and ends
with a script loop error message.
Basically, I have a table where users click on a table row to direct
them to that entry's page. (I put the href in the <tr> title attr)
What in the world is wrong here?
<script src='js/jquery.js' type='text/javascript'></script>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function(){
$("#target tr").click(function(){
var title = $(this).attr("title");
window.location.href = title;
});
$(".hideinit").hide();
$("#ajax-load-img").hide();
});
//]]>
</script>