changing pages

changing pages

I noticed there are some problems when changing pages. 

changing an iframe src then doing $.mobile.changePage() things go screwy
going back doesn't always work properly

But then I noticed a pattern

when I visit my site from

dev.example.com/

those bugs appear. But ...

iFrame problems go away when I visit my site like

dev.example.com/?mobile=1
or
dev.example.com/?aoeu

I ignore "mobile", and "aoeu" part. I think this may be a corner case in jquery mobile plugin.

Replicating is easy:
Have a html file with 2 pages A & B. Have a few buttons on A that sets a div in B $("#iframediv").html("<iframe src...") 

Buttons on A should load different sources in javascript and goto page B using $.mobile.changePage("#B") Now upload the file to index.php and view it as


there will be problems with iFrame (first time everything is fine)
1 problem is the new sources don't load properly

This is using the jquery mobile 1.0a3 from the simple download provided.