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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:45:49+00:00 2026-05-21T15:45:49+00:00

I am designing an email system similar to Gmail, and when the user clicks

  • 0

I am designing an email system similar to Gmail, and when the user clicks on a message, it brings him to the page for that message. The user can also click on a checkbox on the left hand side of this link, and also a button to star/unstar the message. I do not want clicking on the checkbox or the star icon to bring the user to the message.

How can I do this? I tried using the jQuery not() function to exclude these, but A) It does not seem to be working for multiple selecters, and B) If I combine both the checkbox and star icon into their own div and only call the not() function on that single inner div, it still does not work. Is there something wrong with the not() function or am I somehow doing it wrong? Any suggestions on how to do this???

$('div.messages_list').click(function(){
    var messageid = $(this).attr('messageid');
    $.ajax({
    type: "POST",
        url: "./ajax.message_go.php",
        data: "id=" + messageid,
        success: function(data){
            window.location.href = data;
        },
        error: function(){
        }
    });
});    
  • 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-05-21T15:45:50+00:00Added an answer on May 21, 2026 at 3:45 pm

    you can make separate click event handlers for star and checkbox and call event.stopPropagation in them to not cause the message click.

    $(".star").click(function(event){
       event.stopPropagation();
    });
    

    of course if the star and checkbox are children of message box.

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

Sidebar

Related Questions

I am designing a python web app, where people can have an email sent
I am designing & developing Reset Password form, where user provides username/email address so
I am designing a web page. When we click the content of div named
I am designing a system which will at some point require to send email
I'm designing an HTML template for an email newsletter. I've learned that many email
I am currently designing and implementing an application whereby a user can preview and
I would like to ideally set up a user interface for designing emails that
I'm currently designing a shop system with these entities: Account (Millions), username, email, password...
I am designing an email client system using JSF Framework . The UI should
I'm designing a RESTful Web app that will provide an authentication system for several

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.