JS点击图片后显示验证码如何实现,如何更加简单的实现呢?下面我为大家分享一款图片点击验证的插件,效果如下图所示:
<meta charset="utf-8">
<title>jQuery实现文字点击验证</title>
<link rel="stylesheet" type="text/css" href="css/TuErGuaVer.css">
<div class="divMain">
<div id="TuErGuaBox">
<div class="divTuErGua"><a href="http://www.tuergua.com" target="_blank">www.tuergua.com</a></div><div class="divFreshBtn">
<img class="ImgRefresh" id="imgFresh" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAQAAACQ9RH5AAAAAXNSR0IArs4c6QAAB/xJREFUeNrFWQlsFUUYnpm3b1sECoVChUAJ0EAItFBq5PAAJHKLcqZiIMhlgxE0BMKVSCIoQgiiJHIp5RCIQIkELSWRQwJBSUF6QDgsESrQUHhcDX3H7pida2dm97UPYuJO9r0955vvn3/+aw2Q+AZ9z7ByFT9fZ/U/A+t5B2tHDQ7ASAAUSnBQuqLCYg8Yfl7GUIGD4h9K97AEi6UjIN17JsY6KG9IgQYKrC3gVfY4ccYuJxcOSbAcHEgMbQZtK0OIy9uoBxQogAHljM8279yFdBoUZ3F5G/VypYAUVG5AYewCWwADi/1DAkvvQrbHBZZhkeAp70gStyxqyjUALICADRCw2DNxefszRgzYAXMbIuzpPVk7sMTYgbbIE5S5lzcDNxRQGZYCGRo0WpbxzsC2OY3SgmnBNBiwHsdCj69VXzx1Nr+MMLYJsEWYO7CWhzcTOtS4ciFzKIPszi+akPrF1HZDkzr4r79I1c2iz3Zuu0uYxhh4jPGms67oOVT4qrAOXJD+j2mxemrH91Dj+s0cDlftn73+0AMBGlPAbdnIQI+YuYildvD1ESsDzRMz/rF7xz4fUixBxwR/utTYEoQKX65QFDDo7C2Cf8ztPMOdElwXKqk8VXbx0r1fa57Y/Zv1Tc/tkdG71Wsw2QW//kPW6toYA45K4DbjLUQNmbngQg5y2PSkS9+kDuAdRmtKC6btL32qGEUy5L5N1g7PmZ70In+y5mSfeZV1AjhKfjlv7Iqa8+VzS4GDpnFjVfoo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