$.get() in different browsers
Got a problem with the $.get() function on my site..
$('.tunchecked').click(function(e) {
id = this.id;
e.preventDefault();
$.get("/task/finishTask/"+id);
location.reload(true);
});
.tunchecked is a checkbox that should call a php function called finishtask .
the reload and preventdefault works but not the actual calling of the function..
it works in IE (8), Opera (10.5)
but not in Chrome, Firefox(latest) or Safari.
Does anybody know why this is?