[jQuery] Event handling

2009-06-15 Thread asrij...@googlemail.com
Hi Guys, I'm using two plugins which are triggered by a submit event (jquery.validate and jquery.comboselect) and now I'm facing one issue: If any validation error occurs my error msg is printed and my form isn't submitted (correct behaviour) but the comboselect plugin triggers at submit too and

[jQuery] Event handling/propagation question

2009-02-20 Thread spaceage
A question re: event handling/propagation: I have a surrounding and I want any click within the (including a click on any element within the div) to toggle the addition/removal of a class on the . In this example, if the user clicks on one of the elements within the , my toggle doesn't work--

[jQuery] Event handling, bubbling, and SELECT change

2008-12-01 Thread chickenofeathers
I've tried to understand "bubbling" and I think my problem has something to do with that, but I'm not sure. Basically, it seems to me that an event fires on a SELECT element even when the page simply loads. I need to know how to either: a.) prevent this initial firing, so that my .change functi

[jQuery] Re: 3rd party code interference with responsive jquery event handling

2008-11-17 Thread decostop
We wound up for now just setting up our events at the bottom of the page before the 3rd party JS instead of using the ready() function. On Nov 13, 2:19 pm, decostop <[EMAIL PROTECTED]> wrote: > I can't imagine my situation is very unique so I must be failing to > see the trees through the forest.

[jQuery] 3rd party code interference with responsive jquery event handling

2008-11-13 Thread decostop
I can't imagine my situation is very unique so I must be failing to see the trees through the forest. 1) We have a site that has a number of JQuery style event handlers. By this I mean we use the ready to apply event bindings based on jq selectors. 2) We have 3rd party JS which we have no control

[jQuery] Event handling - capture an event and trigger it upon confirmation?

2007-12-10 Thread Eric Martin
I'm trying to write a app that watches for changed data, then if a user clicks on something else, it warns them that they have unsaved data with a modal dialog. I'm calling e.preventDefault on the event initially and then trying to make it so if they select yes, the event will be re-triggered. I

[jQuery] Event-Handling with bind()

2007-06-22 Thread Andres Koetter
Hello, I try to pass parameters to the Event-Handler. But it does not work like I want it to work. The handler holds only the last object that I passed to the Event- Handler. The following example explains my problem. A click on 'helloP' alerts 'barDiv' and a click on the helloDiv alerts 'barDiv'