Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7802797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:21:51+00:00 2026-06-02T01:21:51+00:00

This is how I’m trying to hook into the mobileinit event: $(document).bind(mobileinit, function() {

  • 0

This is how I’m trying to hook into the mobileinit event:

$(document).bind("mobileinit", function() {
    console.log("Mobile init");
});

But this doesn’t work on Chrome (Latest version), Ripple v0.9.1 and on a BlackBerry bold 9790 running OS7.0.

Note: I also tried using .on() instead of .bind() but no luck. Both jQuery mobile versions (1.0.1 and 1.1.0) failed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T01:21:52+00:00Added an answer on June 2, 2026 at 1:21 am

    I’ve used this and it does work.

    Is it possible something else is breaking the script or the mobileinit isn’t being fired?

    Does Chrome fire mobileinit?

    I just found some code I used in jQuery Mobile 1.0 and we just upgraded to 1.1.0 and it works.

    You’re making sure to also include regular ol’ jQuery, right?

    jQueryMobile’s docs do it, so I’m sure it works. Something else must be wrong. Sorry I’m not much help. Do you have any more info? Or try with a different device.

    [edit] On that same self page, it says “Because the mobileinit event is triggered immediately, you’ll need to bind your event handler before jQuery Mobile is loaded. Link to your JavaScript files in the following order:”

    <script src="jquery.js"></script>
    <script src="custom-scripting.js"></script> <!-- Note your script before jqm -->
    <script src="jquery-mobile.js"></script>
    

    Looks like the script order can matter.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
This should be simple, but the answer is eluding me. If I've got a
this is my code that I write it but I want to use LINQ
This is probably a stupid question, but how much of a security risk is
this is what i have right now Drawing an RSS feed into the php,
This might seem like a basic question and back to Http protocol 101. But
This is a long shot, but does anyone know of an algorithm for estimating
This is a question in response to thise: Javascript AJAX function not working in
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
This question was posted on StackApps , but the issue may be more a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.