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

  • Home
  • SEARCH
  • 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 6199937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:16:43+00:00 2026-05-24T04:16:43+00:00

I just switched from jquery mobile alpha 2 to jquery mobile beta 1.0. I

  • 0

I just switched from jquery mobile alpha 2 to jquery mobile beta 1.0. I am using CDN access for the jquery javascript files and the css. I am getting some data from the server and displaying it in the list format. I am building list dynamically in the javasript file.

I was using

$('#detail').html(html);

$('#detail ul').listview();

to refresh my list after building it.

It was working well with alpha version of jquery mobile but now without changing a single line of code I am trying to run it using jquery mobile beta and it is breaking with the following error:

Webpage error details

Message: ‘0’ is null or not an object
Line: 133
Char: 183
Code: 0
URI: http://user.mydomain.com/scripts/jquery.mobile-1.0b1.min.js

Am I doing something wrong or some issue with beta version of css file?

EDIT:

I am getting the data in json format (say result object)using ajax call and displaying it like this:

var html = "<ul id="contactDetails" data-role="listview" data-filter="false" data-inset="true">";

html += "<li data-icon='false'><Email:<a href=mailto:'"+  result.Data.email_address_1 + +"'>" + result.Data.email_address_1 + "</a></li>";

html += ‘ul close tag’

$('div#page2 div#contentMain div#details ul#customerDetails').html(html)
$('div#page2 div#contentMain div#details ul').listview();

Althought I can see the data coming and displaying properly BUT without the style.

Hope this helps to understand the problem.

Raman

  • 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-05-24T04:16:43+00:00Added an answer on May 24, 2026 at 4:16 am

    I checked this with Jquery Mobile forum and the following solution works for me.

         $('#details').html(html)
         $('#page2').page();
         $('ul#customerDetails').listview('refresh');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just switched from svn to mercurial and have read some tutorials about
Just switched over from eclipse to vs 2008 for debugging javascript, i feel more
I just switched to using the CSS Adapters for my TreeView control on one
Just switched from apache and having some rewrite issues. Simple task: rewrite http://www.foo.com/BAR/ to
I switched from Visual Studio to Code::Blocks yesterday, and just had some strange compiler
I have just switched over from the old png transparency fix using a htc
In order to do some multi-platform GUI development, I have just switched from GTK
I just switched to Mercurial from SVN. I've done some basic stuff (importing my
I just switched to the Visual Studio 2010 Ultimate Release Candidate, from Beta 2,
I just switched from using Passenger to using POW because I didn't have to

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.