I am working with jquery, javascript, php in Ubuntu Platform. In the page i am sending an ajax request through jquery to php file and getting response text. This program was running successfully in windows-(wamp) platform and online.
But in Ubuntu i am getting javascript error. The code follows…
url = "index.php";
$.get(url,{
'action': 'Loan',
},
function(responseText){
alert(responseText);
},
"html"
);
In Ubuntu i am getting this error,
“Uncaught ReferenceError: $ is not defined”. This error was showing at $.get line. In the script tag i included jquery library file too. I dont know why this is error is coming. Please solve my issue. Thanks in Advance.
$ is not definedon JQuery means the JQuery library is not loaded.It can happen due to many reasons such as,
I suggest you use JQuery from google.