<input type="button" id="d" name="state" value="审核" onclick="sub()"/>
我想把id的值作为参数传给sub()函数要怎么传,问题很简单,请各位帮帮忙。