Forum Moderators: open

Message Too Old, No Replies

Ajax trouble using FORM in included page in IE

Ajax trouble using FORM in included page in IE

         

Kastrolis

1:07 pm on Sep 6, 2006 (gmt 0)

10+ Year Member



I have a page (A) which inserts the output of another page (B) into a <DIV> elemment. If B contains a <FORM> tag, Internet Explorer always gives an empty output, even if there's nothing but the FORM tag in page B. Everything works fine on Mozilla. What could be the reason for such odd behaviour?

RonPK

1:55 pm on Sep 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello Kastrolis, welcome to WebmasterWorld.

I think that in IE you need to add the form to the DOM, with methods as createElement() and appendChild(). Simply adding the form to innerHTML won't do.

This however is just a wild guess ;)