Click to See Complete Forum and Search --> : buttons


ollmorris
01-01-2003, 08:48 AM
I have two buttons:


<input name="code" type="button" onClick="frames.theHTML.document.body.innerHTML = frames.theHTML.document.body.innerText" value="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