Tag Archives: IE

IE Test VM’s for Virtual Box

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).

Very useful if you, for some strange reason, IE doesn’t work with your Javascript, CSS, design, etc.


Microsoft Releases IE 8 Today

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.

Ban IE from the Planet

Ok, the mistake was mine, but let’s faced it, IE (Internet Exploer) is not even close to be ready to the Web 2.0. I was doing a common Javascript with form submission, so I had a javascript code like this:

function submit_form(){
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.

Easy fix and now everything is working, but stop and think about this a second: Now with AJAX and new Javascript resources why would you set every attribute of a form tag, besides the name and the id?

Anyway, if you have gone through the same problem this might be one solution.

Have fun.

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’;

%d bloggers like this: