Question

In my IndexedDB application, I have used XMLHttpRequest to contact my server side method.. After that, I have added the jquery plugin to my project and referenced it in my page, now it is showing error as "Method is not defined", If I comment the jquery reference, it is working fine.. But I want to use jquery, how to avoid that error, give me some suggestions..

Was it helpful?

Solution

Have you put the ajax request inside the jQuery ready callback?

$(function(){
   $.ajax ...
});
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top