The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Jquery is not loading on page load in Jquery mobile framework?

  • # January 4, 2013 at 7:20 am

    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.

    # January 4, 2013 at 8:30 am

    This reply has been reported for inappropriate content.

    Is jQuery.js in your code the first dependency loading?

    For example,

    <script src="jquery.js"></script>
    <script src=""></script>

    Are they written in that order?

    # January 6, 2013 at 11:41 am

    Yes you are correct….i’m using same way.

    # January 8, 2013 at 5:57 pm

    Are you doing mobile development or standard browser?

    Also, i suggest using an anonymous function.

    # January 8, 2013 at 11:51 pm

    i’m doing mobile development with standard browser like Mozilla & safari…

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed