views:

49

answers:

0

I need to be able to set the order of event handlers for a click event using Prototype. I need to insert an "Are you sure?" pop-up before an Ajax call modifies data. Due to the way the program is structured, I can't change the order of js click bindings.

I love jQuery and there's an elegant solution to this problem right here on StackOverflow.

Is there a similar way to do this in jQuery? Or is there even a .data structure like jQuery's in Prototype for me to roll my own?