Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
Jquery DatePicker on input event is not working...?
mari muthu
Nov 30 2016 4:22 AM
357
Reply
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,
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Drag & Drop Divs & Save the changes in db.
Drag Drop not showing changes after next login.