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
Dinesh Ambaliya
NA
42
80k
Confirm Date must be greater than Join Date using customeValidator
Aug 20 2012 3:06 AM
function validate_date(source, args) {
var joinDate = document.getElementById('<%=txt_dateofjoin.ClientID %>').value;
var confDate = document.getElementById('<%=txt_confirmationdate.ClientID %>').value;
var dt = new Date(joinDate);
var dt2 = new Date(confDate);
var myDate = dt.format("mm-dd-yyyy");
var myDate2 = dt2.format("mm-dd-yyyy");
if (myDate < myDate2)
args.IsValid = true;
else
args.IsValid = false;
}
this code is not working. There are problem with "dt.format() function" I know it but how can I validate two dates now.
Reply
Answers (
3
)
how to scan first and last name in resume from .doc and pdf files in ASP.NET using C#
css or themes and skins..which you use in website designing and if you use css only what about validations