G
geed_dd
Hi
I have a piece of code which replaces the contents of a div using
innerHTML
e.g. this.targetDiv.innerHTML = '<form name="test" id="test1"> in form
</form>';
This works fine in IE but FF(1.5.04) strips out the <form> and </form>
tags.
I know there are some differences in how these browsers handle
innerHTML but I can't seem to find anything on this specific problem.
Does anyone have any idea why this is happening?
Thanks.
G
I have a piece of code which replaces the contents of a div using
innerHTML
e.g. this.targetDiv.innerHTML = '<form name="test" id="test1"> in form
</form>';
This works fine in IE but FF(1.5.04) strips out the <form> and </form>
tags.
I know there are some differences in how these browsers handle
innerHTML but I can't seem to find anything on this specific problem.
Does anyone have any idea why this is happening?
Thanks.
G