Altering IFrame src content
Posted
by
Nick
on Stack Overflow
See other posts from Stack Overflow
or by Nick
Published on 2014-05-28T02:56:06Z
Indexed on
2014/05/28
3:25 UTC
Read the original article
Hit count: 196
I dont believe this can be done, but is it possible to alter the content of an iframe that is rendered via a src.
The 3rd party compiled ASP.Net control (Telerik RadEditor .Net 2 version) I use has an iframe in part of its rendered code and does not contain a doctype and it is causing problems in IE8 with certain elements.
As it is compiled, I can not add it in the source. I was wondering if it is possible to add it in another way?
I have tried multiple things in jquery such as:
$(element).html().prepend("doc type here");
$(element).html("doctype here" + $(element).html());
and all other kinds of dodgy work.
© Stack Overflow or respective owner