align-toparrow-leftarrow-rightbackbellblockcalendarcamerachatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditfacebookglobegoogleimagesinstagramlocation-pinmagnifying-glassmailmoremuplabelShape 3 + Rectangle 1outlookpersonplusImported LayersImported LayersImported Layersshieldstartwitteryahoo

Re: [jsmn] jQuery custom events and Chrome

From: Jason M.
Sent on: Tuesday, January 15, 2013 1:25 PM
You're right, `e.preventDefault()` should keep Chrome from removing the element.  However, we realized that a custom event with a generic name of "remove" (even with a namespace) wasn't a good choice.

On Jan 15, 2013, at 12:58 PM, James Greene <[address removed]> wrote:

Why not just add `event.preventDefault();` to your custom event? That should prevent jQuery from attempting to call the native method.

Sincerely,
    James Greene



On Tue, Jan 15, 2013 at 12:40 PM, Kevin Whinnery <[address removed]> wrote:
cool, thanks for the heads up.


On Tue, Jan 15, 2013 at 12:34 PM, Jason Moon <[address removed]> wrote:
If you use jQuery custom events, check out the issue I ran into last week when Chrome 24 came out:
http://blog.socialcast.com/jquery-custom-remove-event-with-chrome-24/

-Jason Moon

@JSONMOON


--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
http://www.meetup.com/JavaScriptMN/
This message was sent by Jason Moon ([address removed]) from JavaScriptMN.
To learn more about Jason Moon, visit his/her member profile: http://www.meetup.com/JavaScriptMN/members/28978642/
Set my mailing list to email me

As they are sent
http://www.meetup.com/JavaScriptMN/list_prefs/?pref=1

In one daily email
http://www.meetup.com/JavaScriptMN/list_prefs/?pref=2

Don't send me mailing list messages
http://www.meetup.com/JavaScriptMN/list_prefs/?pref=0
Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]




--
Kevin Whinnery
@kevinwhinnery




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Kevin Whinnery ([address removed]) from JavaScriptMN.
To learn more about Kevin Whinnery, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by James Greene ([address removed]) from JavaScriptMN.
To learn more about James Greene, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]

Our Sponsors

  • Twilio

    Super simple API for SMS, MMS, Voice/VoIP in native mobile or web apps

  • Olson

    The great people at Olson are providing us the space for our meetings.

  • ReachLocal

    Video Streaming Sponsor

  • Empulse

    Video Streaming Sponsor

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy