TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Anurag Srivastava
NA
39
0
Problem in Javascript Text Validation
Apr 20 2011 8:56 AM
when i m trying to use the variable "txtFName1" as shown below. it doesn't work in the 'if'.
Is there any way to use the variable in the 'if' in .net 3.5
var txtFName1 = (document.getElementById('<%=txtFName.ClientID %>');
if (txtFName1== "") {
alert("First Name field can't be left blank");
txtFName1.focus();
return false;
}
Pls help
Thanx in Advance....
Eagerly waiting for the response.
Reply
Answers (
6
)
Why lot of versions of dot net
cut and paste not working with asp:Textbox