how to extract value of captcha image and check that value

Posted by Klbaiju under jQuery on 2/12/2015 | Points: 10 | Views : 1424 | Status : [Member] | Replies : 0
Hi,
in my application , iam using captcha for security.
in my login example i want to check the captcha value.

here is my jquery code
$('#btnsave').click(function (e) {
e.preventDefault();
var txtval=$('#txtcapcha').val();
var captcha = $('#imgCaptcha').val();
if(txtval==captcha)
{
//go to another page

}

});

when i tried to display captcha value in alert box it is showing empty.
how to solve it.


Regards
Baiju




Responses

(No response found.)

Login to post response