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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:51:16+00:00 2026-06-10T02:51:16+00:00

There was a recent question that I saw which was very helpful… Insert additional

  • 0

There was a recent question that I saw which was very helpful…

Insert additional image into checkbox element JQuery Mobile

I wanted to see if it’s possible to take it a step further.

https://i.stack.imgur.com/clhO9.png

In the above referenced post (I stole the image as well), an image was added to the checkbox which pops up a dialog or links somewhere else. That’s good, but there was a side-effect of that image, when the image itself was clicked, it also checked or unchecked the checkbox. It toggled the checkbox setting as if it weren’t there at all.

What I’m wondering is, is there a way to include an image on the checkbox AND have it be completely separate from the checkbox so it doesn’t check or uncheck the box.

Basically I have a list of to do items that are check boxes, and I’m trying to add an attached Note feature which you would get to by clicking the image… if it toggles the checkbox, that won’t work for this application.

If there is any jQuery / javascript magic that can be worked, please point me in the right direction.

Also, I would have preferred to keep this on the original post, but all I could see were ways to answer, sorry if I messed that up… I’m new.

Thank you!
-j

  • 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-10T02:51:18+00:00Added an answer on June 10, 2026 at 2:51 am

    You need to use .stopPropagation(), which stops the event from bubbling up to the label.

    Since you’re adding the anchor inside the label, you can use this:

    $("label a").click(function(e){
        e.stopPropagation();    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In a recent question of mine I learned that if there are more than
In a recent question , I learned that there are situations where you just
There was a recent article that Linux kernel 3.3 has integrated Android as one
In a recent discussion on ORMs for webapps someone mentioned that there are times
In a recent question it was noted that on OSX running sed on a
From a recent SO question (see Create a dictionary in python which is indexed
A recent project called for importing data into an Oracle database. The program that
I have a question that was brought up in a recent discussion with a
There is another recent Project Euler question but I think this is a bit
A recent question here made use of the default keyword in non-generic code that

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.