The code below worked on localhost but did not work online
$("#PstsubmitChcReport").click(function(){
$("#response").load("submitServiceReport/");
});
Somebody please help in solving the problem
The code below worked on localhost but did not work online
$("#PstsubmitChcReport").click(function(){
$("#response").load("submitServiceReport/");
});
Somebody please help in solving the problem
It might be because of Same-origin Policy.
There are some Workarounds. You can follow here.