Reputation: 66
I am trying to add iframe in my page. Its working fine in all the browser except IE8.
I have checkout stackoverflow.com
. Many of the suggestion would be frameBorder="0"
. My scenario is i dont have a access to edit the line . so i tried using java script setAttribute
but unfortunately its not working in IE8
.
function removeBorder()
{
document.getElementById("myframe").frameBorder="0";
}
Is there any possibility to create dynamic Attribute ?
Could you please help me ? Thanks in advance.
Upvotes: 0
Views: 99