Make Simple CAPTCHA for verification

Use these code to make simple captcha verification in your Form.

captcha_tutorial_by_roshan_kr_soni

 

Just copy these code & Save it   —————->

 

<html>
<head>

function Captcha(){
var alpha = new Array(‘A’,’B’,’C’,’D’,’E’,’F’,’G’,’H’,’I’,’J’,’K’,’L’,’M’,’N’,’O’,’P’,’Q’,’R’,’S’,’T’,’U’,’V’,’W’,’X’,’Y’,’Z’,’a’,’b’,’c’,’d’,’e’,’f’,’g’,’h’,’i’,’j’,’k’,’l’,’m’,’n’,’o’,’p’,’q’,’r’,’s’,’t’,’u’,’v’,’w’,’x’,’y’,’z’);
var i;
for (i=0;i
</head>
<body onload=”Captcha();”>
<table>
<tr>
<td>
Text Captcha<br />
</td>
</tr>
<tr>
<td>
<input type=”text” id=”mainCaptcha” readonly/>
<input type=”button” id=”refresh” value=”Refresh” onclick=”Captcha();” />
</td>
</tr>
<tr>
<td>
<input type=”text” id=”txtInput”/>
</td>
</tr>
<tr>
<td>
<input id=”Button1″ type=”button” value=”Check” onclick=”alert(ValidCaptcha());”/>
</td>
</tr>
</table>

<br>
<h1> Tutorial By Roshan Kr Soni </h1>

</body>
</html>

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.