|
function showDiv(x){
if(document.getElementById(x).style.display == 'none'){
document.getElementById(x).style.display = '';
}
else {
document.getElementById(x).style.display = 'none';
}
}
<input type="button" onclick="showDiv('divname');">
That one won't work the other "tabs" but it's pretty easy to add in....
|