Skip to content

[jquerymobile] why document.ready event #4

@marceloverdijk

Description

@marceloverdijk

In the jquerymobile implementation the app is bootstrapped in main.js using
$(document).ready(function () { .. }

However the JQM docs state clearly to not use $(document).ready() but use $(document).bind('pageinit') instead.

Is there any (good) reason why you are using $(document).ready()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions