[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
05122024
/
htdocs
/
cilfi
/
assets
/
js
/
libs
/
jquery-validation
/
demo
/
captcha
/
[
Home
]
File: captcha.js
$(function(){ $("body").on("click", "#refreshimg", function(){ $.post("newsession.php"); $("#captchaimage").load("image_req.php"); return false; }); $("#captchaform").validate({ rules: { captcha: { required: true, remote: "process.php" } }, messages: { captcha: "Correct captcha is required. Click the captcha to generate a new one" }, submitHandler: function() { alert("Correct captcha!"); }, success: function(label) { label.addClass("valid").text("Valid captcha!") }, onkeyup: false }); });