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 9014855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:36:48+00:00 2026-06-16T03:36:48+00:00

In jquerymobile, I create a fixed header at here: http://jquerymobile.com/test/docs/toolbars/bars-fixed.html You can see that,

  • 0

In jquerymobile, I create a fixed header at here: http://jquerymobile.com/test/docs/toolbars/bars-fixed.html

You can see that, this toolbar is toggled (show or hide) when you tap on anywhere on the screen except tapping on the form’s elements.

Now I have a div, and write some functions for onclick event on this div tag, the problem here is when I tap on this div, the toolbar also be toggled. I just want to prevent this toggle when I tap on the div, the event when I tap on other places on the screen still be happened as normal for this toolbar.

Please help me if you have any clues on this problem.

Thanks in advance.

  • 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-16T03:36:49+00:00Added an answer on June 16, 2026 at 3:36 am

    What you need is this:

       event.stopPropagation();  
    

    It will prevent even propagation to parent div.

    I have also created an example for you: http://jsfiddle.net/Gajotres/Xz2np/. You can remove/add event.stopPropagation() to see how it works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I am trying to create a custom collapsible header for the accordion http://jquerymobile.com/demos/1.0b3/docs/content/content-collapsible-set.html
http://jquerymobile.com/test/docs/lists/lists-search.html I want to create a filter like this with jquery mobile without having
I'd like to customize the jQuery Mobile slider http://jquerymobile.com/demos/1.0/docs/forms/slider/ so that I can keep
I've the following code that uses jQueryMobile Sliders: <!DOCTYPE html> <html xmlns=http://www.w3.org/1999/xhtml> <head> <meta
I am using jQuery mobile to create the following page. http://ielts.progmic.com/iOS/college.php?title=Royal+College+Of+Arts In the link
I don't see what I'm doing wrong here - I'm trying to create a
I have a single html page that I'm using jquery mobile on to create
I want to create a list within a list item on jQuery mobile here's
I am going to create a web app that will be distributed for Android,
I am using jQuery Mobile and PhoneGap to create an app that allows users

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.