[jQuery] Re: Submitting a form with .submit() problems

2009-01-17 Thread Mike Alsup
> Actually in this case parents('form') of the clicked object does not > include the form tag itself and I believe it's due to the poor html > structure. I just tested this out. It's tough to script on back markup. Different browsers will do different things in an attempt to figure out what you

[jQuery] Re: Submitting a form with .submit() problems

2009-01-17 Thread g...@getsharepoint.com
Actually in this case parents('form') of the clicked object does not include the form tag itself and I believe it's due to the poor html structure. I just tested this out. On Jan 17, 2:15 pm, Alex Kachayev wrote: > If I undestood the task right, you can create code in such way. > > You form will

[jQuery] Re: Submitting a form with .submit() problems

2009-01-17 Thread Alex Kachayev
If I undestood the task right, you can create code in such way. You form will be like this: http://jquery.com"; method="post" id="myForm"> Convertion(1000, this) will return: true, if it`s neccesary to submit form. false, in other case. For this question: 'Is there another way to get