问题
How can I sequentially show multiple dialogs in jQuery Mobile (jQM)?
Opening two dialogs directly in sequence
$.mobile.changePage("#dialog1", "pop");
$.mobile.changePage("#dialog2", "pop");
results in a chained redirection to
index&ui-state=dialog&ui-state=dialog
isOpen from jquery UI doesn't work.
回答1:
You could tie the change event to the first dialog (so when the user selects something) to maybe kick off the second dialog. Example: (Not working but maybe to get you thinking in the right direction) http://jsfiddle.net/LHG4L/18/
来源:https://stackoverflow.com/questions/5863926/how-to-sequentially-show-multiple-dialogs-in-jquery-mobile