IE Upload Form "target"
There's two ways to pull off an "AJAX" file upload (without using flash) that I know of.
1) Put the whole upload form in an iFrame (and remove the border so it doesn't actually look like an iFrame)
2) Put a hidden iFrame on the page and set the "target" attribute of the upload form to the name of that iFrame.
I'm using the second method on: http://hnl.jakswebdesign.com
The problem is, it doesn't work at all in Internet Explorer (but chrome, safari, opera and firefox are good).....can anybody shed some light on this? The thing is though, it does at least APPEAR to work because when I don't select a file and push upload, then you can see the iFrame below refresh (I have set it to display: block for debugging) and say "No file selected" which is out put from the upload script, yet the file never uploads when one is selected....
EDIT: Looks like the only option is option #1....just noticed on w3schools that the target attribute on form is deprecated, I'm assuming that's why it's not working in IE
Last edited by aj_nsc; 01-12-2011 at 07:12 AM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)