[jQuery] Re: Binding of object

2009-07-21 Thread sken
Would make sense but i think i go with my unbind solution ... thanx for your help.

[jQuery] Re: Binding of object

2009-07-21 Thread sken
at's my point. I DON'T WANT THIS. On 21 Jul., 16:48, Liam Potter wrote: > can you show me your code, as I'm still struggling to understand just > what you are trying to achieve. > Why would you bind several clicks to the object, all running the one > function? > >

[jQuery] Re: Binding of object

2009-07-21 Thread sken
there are several click binding. so the function is triggered several times. the function gets ajax content instead of getting this content only once the ajax request is done several times

[jQuery] Re: Binding of object

2009-07-21 Thread sken
The click event should only trigger ONE function. I use a lot of ajax content and for some reason, it happens that on one object (#login) there a several click bindings. It's not visible for the user but in the console. So i would be nice if there would be some kind of check like var test

[jQuery] Binding of object

2009-07-21 Thread sken
Hey, is it possible to get the "binding" of an object. Let`s say i do $("#login").click(function); so the next time i call $("#login") i want to check if a click event is already bind to that obejct. So that i don't have a double binding (in this case the click is doubletriggered) My solution w

[jQuery] draggable with select field

2009-07-17 Thread sken
Trying to get the draggable ui working with a multiple select field, but doesn't work. Does it actually work with option fields ? $("select option").draggable(); it adds the ui-draggable class to the options fields, but they are not draggable :(

[jQuery] select draggable

2009-07-17 Thread sken
Trying to get the draggable ui working with a multiple select field, but doesn't work. Does it actually work with option fields ? $("select option").draggable(); it adds the ui-draggable class to the options fields, but they are not draggable :(