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

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -