jQuery Mobile, $ is not defined, even the javascript should be loaded
Hey,
i was using jQuery which was loaded with the code
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
Then I discovered jQuery Mobile and thought I could just change the javascript file to
- <script type="text/javascript" src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
But then I get the error:
- TypeError: e is undefined
- $('button').click(function() {
- ReferenceError: $ is not defined
- $('button').click(function() {
With jQuery everything worked fine so I don't get why it stopped to work. I know this has to be a really stupid mistake so I would be glad if someone could help me.
Thanks in advance.
P.s. Please forgive me my bad English