ofskyMohsen
ofskyMohsen

Reputation: 1211

Close popup and avoiding navigate to another page in jQuery Mobile

I use jQuery Mobile . I created one html file containing two pages (single file multiple page) . In page 2 I used a popup . When it closes , screen redirects to another page . How can I solve this issue ? I want when popup closed it remains in this page not redirecting to another page .

Upvotes: 0

Views: 101

Answers (1)

ofskyMohsen
ofskyMohsen

Reputation: 1211

Finally I found. Add data-history="false" to popup div. thus when popup closes it doesn't redirect to another page .

Upvotes: 1

Related Questions