[jQuery] Re: Live function being weird

2009-08-05 Thread MiKiTiE
If I remember correctly the live event can only handle tag elements not specific names. So for example, $(form).live('click', function () { }); would work. Perhaps you can use an id on your form, maybe that would work? Do you have to use the live event specifically or were you just curious as to

[jQuery] Re: Live function being weird

2009-08-05 Thread Karl Swedberg
Is there a default onclick action for forms? You're applying the live handler to the form with name=edit. What typically happens when you click a form? Maybe you're using the wrong selector? Or maybe you want to prevent the form from submitting. If the latter, the .live() method does not

[jQuery] Re: Live function being weird

2009-08-05 Thread Jaggi
Yea i know the form doesn't support the submit which is why i had to use the click method. Its kind of weird that it works on a number of my forms but then stopped on two. So was trying to figure the reason for it. In the end i gave the submit button a class and did it off that. I'm using live