I tried to use dojo iframe submission for uploading a file.This is what I did.
I have a html form named elementForm enctype set to multipart/form-data
In my js I tried to submit this form
In FF this works .But in IE (7&8) I got this error
TypeError:getElementsByTagName(…).0.value is null or not an object
and IE generated a Http GET request instead of Http POST request.
I found same question being asked in dojo mailing list
It seems that the problem is with form action.In html form I haven’t specified the form action but in js I have specified that (method: “post”).
But in IE form action is not set to POST.Since it generates a default GET request.
So I tried setting form action in HTML form itself.Inside form tag set (method=”post”).Then it worked in IE also 🙂