I don't have any control on the server side.. is it possible to upload and load the results given by the remote server in an Iframe ? please share some code.. Thanks
Asked
Active
Viewed 2,057 times
4
-
You mean this? – mati Aug 06 '10 at 14:23
-
hi Matias, I want to put normal form, but load results in an Iframe.. thanks :) – Vamsi Krishna B Aug 06 '10 at 14:34
-
check http://stackoverflow.com/questions/2320069/jquery-ajax-file-upload – Imdad May 22 '12 at 18:27
1 Answers
8
Declare the iframe with a name and target that name in your form element:
<form action="http://url.to.server" enctype="multipart/form-data" target="resultsFrame">
<input type="file" />
...
</form>
<iframe src="blank.html" name="resultsFrame"></iframe>

Kirk Woll
- 76,112
- 22
- 180
- 195