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
mari muthu
NA
198
107.2k
Jquery DatePicker on input event is not working...?
Nov 30 2016 4:22 AM
hi friends,
i need one help guys.Actually am trying to get the value from datepicker field by using .on("input",function(){}) in this method is not working for me i dont know why.in this mean while i have been using same method to input field there its working perfectly ,only date picker is issue
i have given my code below,
$(".jq_calander_date").on("input", function () {
alert("change")
if ($(this).val() == "__/__/____" && ($(this).parent('td').children('.ReqiredField').length > 0)) {
$(this).css('background-color', '#ffffcc');
}
else {
$(this).css('background-color', '#ffffff');
}
});
html
-------
<input name="Expiration" tabindex="3" class="jq_calander_date ReqValidate carryMetaData hasDatepicker removeclearicon" id="Expiration" style="background-color: #ffffff;" type="text" value="11/30/2016">
thanks,
Reply
Answers (
4
)
Drag & Drop Divs & Save the changes in db.
Drag Drop not showing changes after next login.