In this post, I will show you when using jQuery UI Datepicker how to update another field when date selection is made in another control.
jQuery UI Datepicker provides an options "altField", which can be used to set the selected date to another control. Set the ID of another control as value for this field and that's it.
Feel free to contact me for any help related to jQuery, I will gladly help you.
jQuery UI Datepicker provides an options "altField", which can be used to set the selected date to another control. Set the ID of another control as value for this field and that's it.
//Code Starts $(document).ready(function() { $('#txtDate').datepicker({ altField: "#txtDateOther" }); }); //Code EndsSee result below.
Feel free to contact me for any help related to jQuery, I will gladly help you.
No comments:
Post a Comment