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
sudharsan s
NA
204
86.9k
Confirm password validation in javascript?
May 15 2012 4:58 AM
hi ...
below code is my pwd and confirm pwd required filed validation in javascript..
now i want to chk this pwd and confirm pwd should same using javascript code...
help me to give confirm password validation in javascript.
if (document.getElementById("<%=txtpwd.ClientID %>").value == "") {
alert("(*)Enter the password");
document.getElementById("<%=txtpwd.ClientID %>").focus();
return false;
}
if (document.getElementById("<%=txtConfirmPwd.ClientID %>").value == "") {
alert("(*)Enter the Confirm Password");
document.getElementById("<%=txtConfirmPwd.ClientID %>").focus();
return false;
}
Advanx THx
Reply
Answers (
4
)
Animated image in html
Microsoft JScript runtime error: 'document.getElementById(...)' is null or not an object