buttons

wxdqz

New Member
I have two buttons:


<input name="code" type="button" onClick="frames.theHTML.document.body.innerHTML = frames.theHTML.document.body.innerText" value=http://www.webdeveloper.com/forum/archive/index.php/"View HTML">

<input name="html" type="button" onClick="frames.theHTML.document.body.innerText = frames.theHTML.document.body.innerHTML" value="View Code">


and when one is clicked the other one is disabled (greyed out) and vice versa.

Thanks
 
Back
Top