When you chain dialog boxes in jQuery Mobile there are these "&ui-state=dialog&ui-state=dialog..." strings stacked on the URL. Is there a way to prevent this?
Thnx!
When you chain dialog boxes in jQuery Mobile there are these "&ui-state=dialog&ui-state=dialog..." strings stacked on the URL. Is there a way to prevent this?
Thnx!
What you can try is to add
rel=external
to the links which open the dialogs.This attribute will disable the Ajax navigation and should prevent stacking the URL.
You could also try the
pushState plugin
:You can check the online doc for more information:
http://jquerymobile.com/demos/1.2.0/docs/pages/page-navmodel.html