-
1. Re: Form submission in IE9
Miguel-F Aug 28, 2012 5:15 AM (in response to Phinehas1234)Could you share your javascript and form code so we can have a look?
-
2. Re: Form submission in IE9
Phinehas1234 Aug 28, 2012 9:04 AM (in response to Miguel-F)In our coding, we only create some textbox within a div component in a sub-windows(windows.open). Then, use appendChild to add this div to our form (parent windows). I have checked the input fields are added correctly.
Then, only submit the whole form when press submit button.
However, it cannot find form.attach.
-
3. Re: Form submission in IE9
Miguel-F Aug 28, 2012 9:11 AM (in response to Phinehas1234)Okay, how about this. Try dumping the entire Form scope out from your CF page. What do you see? This will show you every form field that was submitted with the request.
<cfdump var="#form#" />
Is your field there? If not, then it is not being submitted. You can use something like Fiddler to examine the http headers to verify it is being sent or not.
-
4. Re: Form submission in IE9
Phinehas1234 Aug 29, 2012 12:09 AM (in response to Miguel-F)Yes, I have checked it.
The variable exists in IE8.
However, it does not exist in IE9.
I tried to change the method "AppendChild" to "innerHTML". The field still cannot be submitted.
It seems IE9 cannot support dynamic form field.
Is there any method to solve this problem?
-
5. Re: Form submission in IE9
Miguel-F Aug 29, 2012 5:33 AM (in response to Phinehas1234)Apparently there are issues with using appendChild in IE9 http://msdn.microsoft.com/en-us/library/ms535934%28v=vs.85%29.aspx
It looks like IE9 only supports it if you are running in standards mode.
There are actually several posts that talk about this issue. Like this one http://stackoverflow.com/questions/436710/element-appendchild-chokes-in-ie
Just do a Google search for "javascript appendchild ie9" and start reading. I'm sure you can find an example that works for you.

