Hi Mike,

To hopefully add some more insight into this, I took the form out of
the SimpleModal jQuery plugin and placed it into its own JSP page, and
when I tried to submit the Form, the browser is reporting an error in
line 334 of the "jquery.form.js" file, stating that:

form.submit is not a function

This happens in both Firefox 2.0 and IE6.

Regards,
Dave

On May 4, 8:30 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> >  I'm attempting to use the jQuery Form Plugin on a page that has
> >  multiple forms.  The particular form I am using to allow the uploading
> >  of files is the third form on the page.  I'm also using that form
> >  within a modal dialog box, using the SimpleModal jQuery plugin.  I
> >  have a Java Servlet handling the form submission.
>
> >  I am having a problem when I try to upload a file.  It looks like the
> >  request never gets to my servlet.  When I fill out the other fields of
> >  the form out, leaving the upload blank, it's working fine.  However,
> >  once I attempt to include a file to upload, the servlet never gets
> >  invoked.
>
> >  I understand that the XMLHttpRequest cannot send files over, but that
> >  the Forms Plugin utilizes an iFrame to do so.  However, it's not
> >  working in my case.  I've read a blog in which the person is able to
> >  address this, found here:  
> > http://www.ender.com/2008/04/jquery-the-jquery-form-plugin.html.
> >  I tried his suggestions of including a hidden field in my form, but
> >  it's still not reaching my servlet.
>
> >  Could the problem actually be the fact that I have more than one form
> >  on the page?  Any help would be greatly appreciated.  Thanks.
>
> The Form Plugin fully supports multiple forms on a page so that
> shouldn't be causing your problem.  Can you post a link to your page?

Reply via email to