M
Mahernoz
Hi Friends,
I have some problem here. I am using Asp.net 2.0 but that is not
relevant to my Question.
I have a <div> tag.
<div id="dvAArea" runat="server"></div>
and an HiddenField
<input type="hidden" runat="server" id="hidAArea" />
on click of a button i have a function
function CopyHTML()
{
document.getElementById('<%= hidAArea.ClientID %>').value
= MakeXMLParseable(document.getElementById('<%= dvAArea.ClientID
%>').innerHTML);
}
the problem here is i want to make the html of dvAArea Xml compatible.
but i am finding that the innerHTML property removes the double quotes
in IE6.
And as this removal occurs i cannot load it as a validXml (which is
used for other purpose).
Regards,
Mahernoz
I have some problem here. I am using Asp.net 2.0 but that is not
relevant to my Question.
I have a <div> tag.
<div id="dvAArea" runat="server"></div>
and an HiddenField
<input type="hidden" runat="server" id="hidAArea" />
on click of a button i have a function
function CopyHTML()
{
document.getElementById('<%= hidAArea.ClientID %>').value
= MakeXMLParseable(document.getElementById('<%= dvAArea.ClientID
%>').innerHTML);
}
the problem here is i want to make the html of dvAArea Xml compatible.
but i am finding that the innerHTML property removes the double quotes
in IE6.
And as this removal occurs i cannot load it as a validXml (which is
used for other purpose).
Regards,
Mahernoz