Clicking the link results in the original table being replaced by a new table which I have on another page. The new table begins exactly the same way (<tabledata-role="table"id="my-table"data-mode="reflow">),
but when the page refreshes, the new table is not displayed in reflow.
I tried another very simple table but same thing, so I think the problem is that JQM doesn't detect that the new table has the attribute data-mode="reflow".
How do I get JQM to detect data-mode="reflow" when it's bringing in the new table? I think I need to know the exact code to put in because I have no expertise with jQuery (yet).
I have page 1 and page 2 JQM files (page 2 is page2.php). My CSS is in the head section of page 1. I don't need any CSS on page 2 unless I go to page 2 from a link other than the link on page 1. So, it appears I do need to have CSS on page 2 either in the head section or in a style sheet.
I also have a JS function on page one. I need that same function on page 2. Right now, the function doesn't run on page 2 after transitioning from page 1 to page 2, but I believe I can put a pageinit event on page one and add a unique id to an element on page 2, and this will allow the function to run on page 2. This should mean that I won't have to add the function to page 2, at least when I'm getting to page 2 from page 1. But, if I'm getting to page two from a link other than the link on page 1, will I need to add the function to page 2, or will the fact that I have a unique Id on page 2 cause the function to run? I don't see how it could, but I haven't used a pageinit event previously.
I'm using a media query to make my site responsive. Here's what I was using for desktop styles:
@media all and (min-width: 481px) {
I thought this would be ok because phones would all be less than 481 px in width, but I found using an emulator that I have to change this min width to 595 (about) for Android phones, and to about 650 for iPhones. So now I've got my min width set to 650 px. iPads and other tablets and Android and iPhone are all displaying ok, according to the emulators. Desktop is also displaying well. Blackberry phone is showing all three columns just like a desktop.
I've read a few of the posts about IE8, and I wonder if there is an updated solution.
I have a JQM page. I tried to load it using IE8. It just doesn't load. I found a solution that suggests putting <meta http-equiv="x-ua-compatible" content="IE=8"> into the head section. I did this, but this caused more recent versions of IE to have problems rendering the page and other pages on my site.
Any suggestions?
Here's the pertinent material in my page head section:
The page I'm building works well until I make it an SSL protected page. At that point the JQM styling disappears. Is there anything I can do to overcome this problem?