Ajax Response throwing JavaScript Syntax Error -
function fnvalidatepcrhours(pcr, hoursentered) { $.ajax({ type: "get", url : "/tms/validatepcrhours.html?pcr="+pcr+"&hoursentered="+hoursentered, cache: false, success: function(data, textstatus, jqxhr) { alert(data); return true; }, error: function (jqxhr, textstatus, errorthrown) { alert(errorthrown); return false; } }); return false; }
as response (in) server, script error. can 1 me on this?
Comments
Post a Comment