me_digvijay
me_digvijay

Reputation: 5502

Pick input type file value from another form

The problem started while uploading file using ajax but since IE 9 it's not possible.

I'm trying to post a form from a hidden IFRAME, but, the problem is the user can't see the hidden form and the file field is selected from another visible form.

While submitting the hidden form I'm not able to get the value for the file selected from the visible form.

How can I get this value?

Upvotes: 0

Views: 63

Answers (1)

Erick
Erick

Reputation: 833

I was facing the same issue and I was able to use this:

http://malsup.com/jquery/form/#ajaxForm

It is easy to implement and it does the job you are looking for which is upload files using AJAX. (It should work for IE 9)

Take a look at the link and let me know if you have any questions when implementing it.

Upvotes: 1

Related Questions