1 HTML代码
<div style="margin: 0px auto 20px auto;width: 240px;">
<input type="text" id="verify" style="margin: 10px 0px;width: 100px;height:26px;margin-left:5px;display: inline-block;float: left;">
<canvas width="100" height="34" id="verifyCanvas" style="display: none;"></canvas>
<img width="100" height="34" id="code_img" style="margin: 10px 10px;" onclick="imgRefresh('verifyCanvas','code_img','verify')">
</div>
2 JS代码
var nums = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", 'A', 'B', 'C', 'D', 'E', 'F', 'G', '