表单数据的提交有关问题

表单数据的提交问题
表单里有2个单选框,想实现点击不同的单选框,提交选中单选框的value到本页面,怎么实现呢?没有按纽~~

------解决方案--------------------
<input type= "radio " name= "album " value= "0 " onclick = "checkdata() " checked /> 单选一
<input type= "radio " name= "album " value= "0 " onclick = "checkdata() " checked /> 单选二
<script language= "javascript ">
function checkdata(){
if (document.form.album[0].checked == true){
document.all.album.value= "单选一 ";
document.form.submit();
}
if (document.form.album[1].checked == true){
document.all.album.value= "单选二 ";
document.form.submit();
}
}
</script>