使用方式如下:
具体用法请看压缩包中的test.html。
new AuthCode({
authcodeURL : "validateCodeServlet",//产生验证码图片的地址
id : 'loginAuthcode' //要将验证码绑定到哪个控件上
}).bind('authCode');
具体用法请看压缩包中的test.html。