Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function callformsubmit()
- {
- var validatecpathca = ValidCaptcha();
- if(!validatecpathca)
- {
- alert('Capthcha mismatch');
- DrawCaptcha();
- $('#loginCaptchaCode').val('');
- }
- else
- {
- // do form submit here
- }
- }
Add Comment
Please, Sign In to add comment