Skip to content
Advertisement

jQuery $.mobile library is undefined

I have linked jQuery and jQuery mobile to my code. I got this error in the console:

JavaScript

I have rechecked the URL and all are correct, I have update the files(jQuery, jQuery mobile) and the issue is still exists. I have place the jquery.js before jquery.mobile.js

This is my code:

JavaScript

and it’s on the end of the file. the content of code.js: http://pastebin.com/3LTcxs9S

Advertisement

Answer

JavaScript

try this by replacing your code

NOTE* put jquery mobile script at last after putting all jquery library scripts, im sure it will work

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement