I am getting this error when I click on view code option in HTML container to view the code of the page which is present in iframe. First time it is showing but after saving if you go again to same page this error occurs in this code.
this.get_html = function()
{
var html;
if($("#" + d.id).is(":visible"))
{
html = $("#" + d.id).val();
}
else
{
html = d.iframe.contentWindow.document.body.innerHTML;
}
if(typeof getXHTML === 'function')
{
return getXHTML(html);
}
else
{
return html;
}