Skip to content
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
@joelbbagley

Description

@joelbbagley

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>

Activity

toddparker

toddparker commented on Aug 8, 2011

@toddparker
Contributor

Can you please add this to the feature request wiki and link to this issue? We'll re-open if we decide to implement later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @toddparker@joelbbagley

        Issue actions

          Enhancement request to add data attribute for anchors, forms, etc. to specify no hash changes · Issue #1577 · jquery-archive/jquery-mobile