Have you put the ajax request inside the jQuery ready callback?
$(function(){
$.ajax ...
});
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..
Solution
Have you put the ajax request inside the jQuery ready callback?
$(function(){
$.ajax ...
});