nope, is not that, the form and form/name "problem" is because i just
wrote in here a simplified version of the script and i mis-typed. in
the original script it's form_name/form_name. My form it looks like
it's submitted(the php page is loaded) but i get those errors in the
php because those values aren;t sent

On Oct 7, 3:27 am, James <james.gp....@gmail.com> wrote:
> The name of your form is "form", not "form_name" as you have in your
> Javascript.
> Do you have other fields aside from the upload field?
> Try putting other fields. In PHP do a "print_r($_REQUEST)" to see if
> you get anything.
>
> On Oct 6, 1:43 pm, kknaru <isai...@gmail.com> wrote:
>
> > hi i have something like this:
>
> > //
> > javascript----------------------------------------------------------------------------------------------------------------------------------
>
> > $('a').click(function(){
>
> >        $('div').load('form.html',function(){
>
> >                 $('form[name="form_name"]').submit();
> >                                                       });
>
> > });
>
> > //main HTML
> > page------------------------------------------------------------------------------------------------------------------------
>
> > <a href="#">click</a>
> > <div> </div>
>
> > //the form.html
> > page-----------------------------------------------------------------------------------------------------------------------
>
> > <form action="action.php" name="form" method="post" enctype="multipart/
> > form-data" />
> > <input type="file" name="uploaded" />
> > <input type="submit" value="send">
>
> > ok, so...first i load the form.html page and then i try to submit the
> > loaded form, it looks fine but the php desn't receive the field value
> > (the php is very simple and there is no problem). what's wrong?!

Reply via email to