This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Enhancement request to add data attribute for anchors, forms, etc. to specify no hash changes #1577
Closed
Description
Currently, it appears that by default in JQM 1.0a4.1, elements such as anchors, forms, etc. that allow page navigation always update the hash and page history navigation unless one explictly captures the click or submit event and then invokes the $.mobile.changePage method themselves specifying that the hash not be updated. It would be quite helpful if a data attribute could be supported that would allow the developer to specify whether they want the hash to be changed for an anchor or form. As an example:
<a id="customButton" name="customButton" href="/some/path" data-change-hash="false" data-role="button">Label</a>
Metadata
Metadata
Assignees
Labels
No labels