quote:
Originally posted by lordy
quote:
Originally posted by Matty
Throw the text box for the MSN address into a DIV give it an ID when they click Yes, document.getElementById('id').style.display = ''; if they click no document.getElementById('id').style.display = 'none';
both would be onClicks
But you can't have individual table rows in a div can you?
It will work take this for an example
or this
code:
<script>
function hideshow(id){
if (document.getElementById(id).style.display == ''){
document.getElementById(id).style.display = 'none';
}else{ document.getElementById(id).style.display = ''; }
}
</script>
<input id="hideme" />
<input onclick="hideshow('hideme')" type="button" value="hide show" />