Reputation: 1211
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
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