Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
10
Reply
asp.net client side validation if textbox is empty ?
SUNIL GUTTA
Dec 18 2013 6:44 AM
8.4k
Reply
Hi
Well what i required is
Let us say i have a two textbox's and just a button .. when ever user don't enter anything in textbox1 and using tab or whatever key board or mouse click to text box ..
straight away user should be Alerted with a message or textbox1 background color getting red
The focus should not get out of the textbox1 until user type something in it .
Can any one help me .. using javascript , on blur functionality ...
PS: I can use requiredfield validator but i dont want to user server conrols more .. so ..
YOUR HELP IS DEARLY APPRECIATED
Ty everyone
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
10
)
Next Recommended Forum
Print gridview data with image
gridview editing ? bound fields ?/