On saving the contents of the editor to a database, I run a javascript function to make some changes to the Html in the editor content area.
I add inputs of type hidden using the code:
var jHidden = jDocument.createElement(
'input');
jHidden.type =
'hidden';
jHidden.id =
'PagePart';
jHidden.name =
'PagePart';
jHidden.value = pPagePartId;
jInputElements[jSubmit].parentNode.appendChild(jHidden);
In Internet Explorer 8, the Html created is:
<input type="hidden" id="label3" submitname="label3" value="Email:" />
In Firefox, it is:
<input type="hidden" id="label3" name="label3" value="Email:" />
Why does Internet Explorer insert the attribute submitname="label3" which does not appear in the Request.Form when the page is refreshed on Submit?
Your help would be much appreciated.
Thanking you in anticipation.
Roger