<script language="javascript"> <br>function check() <br>{ <br>var strchoice=""; <br>for(var i=0;i<document.news.choice.length;i++) <br>{ <br>if (document.news.choice[i].checked) <br>{ <br>strchoice=strchoice+document.news.choice[i].value+","; <br>} <br>} <br>if (!document.news.choice.length) <br>{ <br>if (document.news.choice.checked) <br>{ <br>strchoice=document.news.choice[i].value;+"," <br>} <br>} <br>strchoice=strchoice.substring(0,strchoice.length-1); <br>document.news.choiceid.value=strchoice; <br>alert(document.news.choiceall.value); <br>} <br></script>
...
...











