Let me try this again. Below is the code from one of my files that contain names and phone numbers. I have a page with links that point to the different files with names and phone numbers. When you first go to the page, the name and phone number are in one line and they are just regular list items. If you refresh, it now becomes a link to the phone number. There are no anchor tags so I guess Jquery Mobile is seeing the phone number and turning it into a link. Not sure it doesn't do this when you first go to the page.
I have a simple app that displays gaphic circles with the letters of alphabet. Each graphic is a link to .asp file that contains jquery mobile code. Below is an example of a small one. Sometimes the listview items will display the information in a single row and other times name is on top and phone number is below. When it is a single row, you can not touch the link and make it do anything. If single row appears, most of the time if you hit the refresh button it works. I am using an iphone 3gs to test with.
<!-- This is the first link page --> <div data-role="page" id="test"> <div data-role="header"> <h1 style="white-space:normal">Leon County Schools</h1> </div> <div data-role="content"> this is the test page </div> </div> </body> </html>
My header on my iphone shows up as "My First Mobile...". Why won't the whole header show up?
<!DOCTYPE html> <html> <head> <title>Developing with jQuery Mobile</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" /> <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script> <script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script></head> <body> <div data-role="page"> <div data-role="header"> <h3>My First Mobile Site</h3> </div> <div data-role="content"> <p>Welcome to my first mobile site.</p> <p>Try me on all of your mobile devices! You can use any <strong>valid HTML</strong> on this page</p> <p style="text-align:center;">Powered by jQuery Mobile</p> </div> <div data-role="footer"> <h3>My First Mobile Site Footer</h3> </div>