SOURCE

console 命令行工具 X clear

                    
>
console
/*var score01 =window.document.getElementById('r101');
var score02 =window.document.getElementById('r102');
var score03 =window.document.getElementById('r103');
var score04 =window.document.getElementById('r201');
var score05 =window.document.getElementById('r202');
var score06 =window.document.getElementById('r203');
var score07 =window.document.getElementById('r301');
var score08 =window.document.getElementById('r302');
var score09 =window.document.getElementById('r303');

var sss = document.getElementsByName('qwe1');


 for (var i = 0; i < sss.length; i++) {
                if (sss[i].checked == true) {
                    alert(sss[i].value);
                }

//alert(score);*/


  var goable=0; 

function aaa()
{
  goable=0;
  location.reload() ;
}
   
   34wwwwwwwwww

   
   
   
    <p id="p01">问题1</p>
    <form action="" method="get">
    <input id="r101" name="qwe1" type="radio" value="" onclick="goable+=1;" />daan1
    <input id="r102" name="qwe1" type="radio" value="" onclick="goable+=2;"/>daan2
    <input id="r103" name="qwe1" type="radio" value="" onclick="goable+=3;"/>daan3
    </form>
    
    <p id="p01">问题2</p>
    <form action="" method="get">
    <input id="r201" name="qwe2" type="radio" value="" onclick="goable+=1;"/>daan1
    <input id="r202" name="qwe2" type="radio" value="" onclick="goable+=2;"/>daan2
    <input id="r203" name="qwe2" type="radio" value="" onclick="goable+=3;"/>daan3
    </form>
    
    <p id="p01">问题3</p>
    <form action="" method="get">
    <input id="r301" name="qwe3" type="radio" value="" onclick="goable+=1;"/>daan1
    <input id="r302" name="qwe3" type="radio" value="" onclick="goable+=2;"/>daan2
    <input id="r303" name="qwe3" type="radio" value="" onclick="goable+=3;"/>daan3
      <br />
      <input type="button" name="button" value="重置" onclick="aaa();" />
    <input type="button" name="button" value="提交" onclick="alert(goable);" />
    </form>