Update another field when date selection is made using jQuery UI DatePicker
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.
//Code Starts $(document).ready(function() { $('#txtDate').datepicker({ altField: "#txtDateOther" }); }); ?//Code Ends
See result below.
Feel free to contact me for any help related to jQuery, I will gladly help you.