Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-1042

Aerogear AS-Quickstarts Kitchensink-Cordova document ready

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Obsolete
    • Optional
    • None
    • None
    • examples
    • None

    Description

      Hi,

      It is a jQuery Mobile recommendation to avoid using the document ready handler in combination with jQuery Mobile. In jQuery Mobile, Ajax is used to load the contents of each page into the DOM as you navigate, and the DOM ready handler only executes for the first page. It would be better to use an event such as the pageinit event [1] instead of document ready.

      [1]: http://api.jquerymobile.com/pageinit/

      Attachments

        Activity

          People

            lholmqui@redhat.com Lucas Holmquist
            aemmanou Tolis Emmanouilidis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: