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

  • Home
  • SEARCH
  • 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 8815255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:19:49+00:00 2026-06-14T04:19:49+00:00

I have a working example of this but I’m not sure why my implementation

  • 0

I have a working example of this but I’m not sure why my implementation isn’t working. Can somebody please help? I’m missing something and I need another set of eyes to find it for me. 🙂

JSFiddle demo <– see code here.

I’m trying to reproduce the functionality used here. I seem to be a little confused about passing/accessing the event variable around.

Thanks!! 🙂

  • 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-14T04:19:50+00:00Added an answer on June 14, 2026 at 4:19 am

    Bind to the Click event: example

    $(document).ready(function() {
        $('#checkbox1').click(function(event) {
            if (flag) {
                CancelEvent(event);
                return event.returnValue;
            }
            SomeOtherStuff('this method has real functionality too');
        });
    });​
    

    Change is a little to late in the event structure to cancel the action that already happened.
    In addition, the return value was being omitted. So I added it to the event handler.

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

Sidebar

Related Questions

I have this simple example I can't seems to get working : MERGE INTO
(Please refer to SQLFiddle for a working example of this post) I have a
I am new to OOP and I have been working on this example but
I am working with this example to try and learn Sencha Touch. I have
Sorry for repost but I have a better working example of data that reflects
Сould you please give me working example of nested editors ? I've read this
I have trying hard, but can't make this method works properly. The usage format
Please consider this example: ( working example ) Style declarations: body {background:#333;font:1em Arial, Helvetica,
I have this working example fiddle of ember routing http://jsfiddle.net/C7LrM/102/ I want to change
i have a working example which uses this url http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=jQuery16201154390876987067_1314382298849&tags=cat&tagmode=any&format=json&_=1314382298856 which gives me this

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.