I have a form which is used to make a Test. User enter a question and provides question type and the Answer options and saves the Question. What has gone wrong is that when
It is possible that you have some improper HTML. For example, a kinda random possibility that was a symptom of this and worked for me: Try changing your I was having the same issue with using As it turned out, I had some improper HTML syntax. Specifically, my .
innerHTML
to insert HTML data into a div but IE9 not recognizing it. Even if I tried to just alert the field value it didn't know it existed even though it worked fine on IE8, Chrome, etc. But I changed the and voila, it understood perfectly.
tag was inside a
tag. Unlike all the other browsers, IE9 did not forgive this and only understood my inserted elements when they were inside
p > form > span
instead of a p > form > div
. Of course the real solution was to correct my HTML structure. Then IE9 understood the .