Click here to Skip to main content
16,019,957 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
sample scenario

when i put the email address in the textbox it will automatically write email already exists

how to do that?

just need simple and basic answers thank you
Posted
Updated 9-Aug-12 19:04pm
v3

Use AJAX. OnBlur or OnKeyDown, based on when you want, fire an AJAX call to server and check if the written text/email already exists or not. Based on the response received, display the content.

You can use traditional XMLHttpRequest or jQuery Ajax. Pick that you are suitable with.
 
Share this answer
 
Comments
newbie011292 10-Aug-12 1:08am    
do you have sample code sir? just need basic and simple sorry sir im very newbie to this
Espen Harlinn 19-Aug-12 9:24am    
Good advice :-D
ontextchange event of textbox call c# function that check email id present or not in a table
 
Share this answer
 
Comments
newbie011292 10-Aug-12 1:02am    
oh sir sorry this is not c#, this is php, html mysql thank you ;)
newbie011292 10-Aug-12 1:03am    
sorrry my question is not specific

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900