toggle not working in chrome
I have this in an external sheet
$("a.star").click(function(){
var url_id = $(this).attr('href');
$(this).toggleClass("not");
$.ajax({
type: "POST",
url: url_id
});
return false;
});
It simply toggles a empty / full star and saves the choice to db. Works in FF, and IE but not in chrome or opera.
Any ideas?