Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8712445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:06:41+00:00 2026-06-13T05:06:41+00:00

In my mobilejquery project, I need to unbind the links (hrefs), and bind them

  • 0

In my mobilejquery project, I need to unbind the links (hrefs), and bind them a point, for that, I use this code:

$(document).bind('pageinit', function () {

    $('a[href="#"], a.disabled').bind('click',function (e) {
        e.preventDefault();    //sets all dynamic href to prevents wrong url
    } )
});

but not at all works… anything wrong with my code?

Additional question..

I don’t want to show the url path in the navigator.. is there any way to make the url path not to show?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T05:06:42+00:00Added an answer on June 13, 2026 at 5:06 am

    did you try using the unbind() method?

    $('a[href="#"], a.disabled').unbind("click").bind('click',function (e) {
       e.preventDefault();    //sets all dynamic href to prevents wrong url
    } )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi i am making a Game Using mobilejquery in which i am calling a
Here is my Html code. What I am trying sounds simple but I am
I'm developing a web app. MySql/PHP back-end, and HTML/jQuery front-end. I wanted to use
This html example works properly. It loads Map and it can be moved, zoomed
I'm writing an authentication system with mobile jquery and php. The html code is
I am in the process of wrapping up a mobile site and I need
I was testing out this demo on query-ui-maps: http://jquery-ui-map.googlecode.com/svn/trunk/demos/jquery-google-maps-mobile.html#directions_map Everything is the same except
Kind-of a crazy question here... I have a view display that's set up as
Hi I am developing phonegap application. If I use console.log in index.html file then
I included a page in my program that displays the accelerator data from the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.