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 why it won't work the same way?
On Aug 5, 9:44 am, Jaggi <jaggi_2...@hotmail.com> wrote: > I have two snippets of code: > > This one doesn't work > > $("form[name='edit']").live('click', function() { > return false; > > }); > > This one does: > > $("form[name='edit']").click( function() { > return false; > > }); > > I'm not sure why this is though, are attribute filters not supported > with the live functions?