rekcah101
rekcah101

Reputation: 27

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

i have this iframe in my php page

iframe - html - frameset - iframe - iframe - iframe - head - 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.

Upvotes: 0

Views: 350

Answers (1)

Gaurav
Gaurav

Reputation: 28755

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

Upvotes: 1

Related Questions