I am developing a mobile web application with JSP, my jquery scripts are loading for first time in browser. Once i refresh the browser all my scripts are working, i'm calling all function inside $(document).ready() funtion.
Is jQuery.js in your code the first dependency loading?
For example,
<script src="jquery.js"></script> <script src="jquery.mobile.js"></script>
Are they written in that order?
Yes you are correct....i'm using same way.
Are you doing mobile development or standard browser?
Also, i suggest using an anonymous function.
i'm doing mobile development with standard browser like Mozilla & safari...
I am developing a mobile web application with JSP, my jquery scripts are loading for first time in browser. Once i refresh the browser all my scripts are working, i'm calling all function inside $(document).ready() funtion.
Is jQuery.js in your code the first dependency loading?
For example,
Are they written in that order?
Yes you are correct....i'm using same way.
Are you doing mobile development or standard browser?
Also, i suggest using an anonymous function.
i'm doing mobile development with standard browser like Mozilla & safari...