what i wanted to do is when i clicked on a checkbox it will automatically appear on a certain part of the page. i tried to give a checkbox an onclick='displayit()'/oncchange='displayit()' where displayit() is:
function displayit(obj){
document.divnam.write(obj.value);
}
the divnam is the name of the division where i wanted the text to appear..isnt it possible?i also tried removing the divnam and putting the function itself in the division
<div name='divnam' ><script>
function displayit(obj){document.write(obj.value);}
</script></div>