On 3/22/12 4:52 PM, sblair wrote:
I'm looking to see how to reload the current page within IUI.
Basically when I refresh the page I'm on in IUI it always reverts back
to the main app page. So, how can I get it to refresh the current
page it has been navigated to?
iUI should do that. Try it on the music app:
http://demo.iui-js.org/samples/music/music.html
There is one caveat though. iUI is not able to reconstruct a level 3+
navigation path to the current view/page.
So in the music example:
reload #_home - works perfectly
reload #_artists - works perfectly
reload #_TheBeatles - reloads the correct page, but the backButton will
return you directly to #_home rather than #_artists.
Also, how can I programmatically have the page reload itself.
location.reload(true);
-- Sean
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.