[jQuery] Submitting a form after input type="file" onchange
I would like to just say that I thought it would work as:
$("#myform).submit();
inside the onchange event, but it would never submit the form.
Using
$("#myform)[0].submit();
worked immediately.
Thanks again for your help!
-Marshall
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On
Behalf Of Klaus Hartl
Sent: Wednesday, October 18, 2006 12:35 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Submitting a form after input type="file" onchange
Paul McLanahan schrieb: