[jQuery] Re: this pointer in Jquery ?

2008-04-27 Thread mumu
no the goal was to use the this pointer of the a href, in order to be sure to validate the good form thanks anyway On Apr 26, 9:32 pm, Ryura [EMAIL PROTECTED] wrote: script $(function() { $('form a').click(function() { $(this).parent('form').submit(); return false;}); }); /script a

[jQuery] Re: this pointer in Jquery ?

2008-04-26 Thread Ryura
script $(function() { $('form a').click(function() { $(this).parent('form').submit(); return false; }); }); /script a href=# class=img ok/a Try that. On Apr 26, 1:38 pm, mumuri [EMAIL PROTECTED] wrote: Hello for the moment to submit a form ,i do like this (the a href is wrapped in a form