开发者

change attribute in <iframe><frameset><iframe><div> </

开发者 https://www.devze.com 2023-03-07 02:44 出处:网络
i have this iframe in my php page iframe - html - frameset - iframe - iframe - iframe - head -开发者_JAVA技巧

i have this iframe in my php page

iframe - html - frameset - iframe - iframe - iframe - head -开发者_JAVA技巧 body - div id="change" - div -

all i need is to change the attribute of the 'id="change"' into visible:hidden. I want to change via javascript.

any idea?..,

tnx for the rplies.


frmObj = document.all.iFrameID;
  if(frmObj) {
    frmObj.style.visibility = "hidden";
  }
0

精彩评论

暂无评论...
验证码 换一张
取 消