.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Code Snippets >> Javascript >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Simple Captcha Code in Javascript

Posted By:Mahak Gupta       Posted Date: October 03, 2010    Points: 10    Category: Javascript    URL: http://www.dotnetspark.com  

Simple Captcha Code in Javascript

Here I create a Cptcha Code With JavaScript 

Step 1:-> 


 In the (.aspx) page we write the following Code:-> 


<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>








Step 2:-> 

In the (.cs) page I write the following code for varification:->


protected void Button1_Click(object sender, EventArgs e)


        if (txtverification.Text == txt1.Value)


            lblmsg.Text = "Successfull";




            lblmsg.Text = "Failure";




Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend