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