Always a useful resource.
There is a list of VM’s with several versions of IE’s if you are under OSX (might work with Linux as well – haven’t tested).
According to the Wall Street Journal, Microsoft will release today, at noon, EDT the new IE 8 (link to IE8 beta page – will update when the new one comes).
This will give Microsoft a slightly advantage over it’s principal competitor Firefox 3.5.
As any web developer I’m not as much excited as any user should be, since this will be one more IE to test web applications (IE 6 and 7 still up :[ ).
Let’s now wait for the new IE and see how it will handle on Vista and XP.
document.form1.action = ‘postHandler.php’;
document.form1.enctype = ‘multipart/form-data’;
document.form1.target = ‘theHiddenIframe’;
My form code was like this:
<form id=”form1″ name=”form1″>
<input type=”button” value=”upload” onclick=”form_submit()” />
<input type=”file” value=”” name=”uploadfile” />
On Firefox it will work perfectly, but on IE it will send the file as string. What was happening is that on IE you must set the enctype on the form tag because it will not accept the tag to be set dynamically.
Anyway, if you have gone through the same problem this might be one solution.
Update: I got this from a friend of mine. You can set the enctype dinamicly on IE, but you need to use:
document.form1.encoding = ‘multipart/form-data’;