I need to get the value from an input field that uses a jquery date picker and store it into a variable or ASP control. What is the best way to accomplish this?Here is the code portion of the aspx file:\[code\]<asp
anel ID="AppointmentPNL" runat="server" GroupingText="Appointments" CssClass="module"> <table> <tr> <td> <asp:Label ID="ScheduleLBL" runat="server">Appointment Date:</asp:Label> </td> <td> <input type="text" id="datepicker" /> <asp:TextBox ID="ScheduleTXT" runat="server" Visible="False"></asp:TextBox> <asp:RegularExpressionValidator ID="ScheduleDateRV" runat="server" ErrorMessage="Date format incorrect." Display="Dynamic" ValidationGroup="Schedule" ValidationExpression="((^(10|12|0?[13578])([/])(3[01]|[12][0-9]|0?[1-9])([/])((1[8-9]\d{2})|([2-9]\d{3}))$)|(^(11|0?[469])([/])(30|[12][0-9]|0?[1-9])([/])((1[8-9]\d{2})|([2-9]\d{3}))$)|(^(0?2)([/])(2[0-8]|1[0-9]|0?[1-9])([/])((1[8-9]\d{2})|([2-9]\d{3}))$)|(^(0?2)([/])(29)([/])([2468][048]00)$)|(^(0?2)([/])(29)([/])([3579][26]00)$)|(^(0?2)([/])(29)([/])(1[89][0][48])$)|(^(0?2)([/])(29)([/])([2-9][0-9][0][48])$)|(^(0?2)([/])(29)([/])(1[89][2468][048])$)|(^(0?2)([/])(29)([/])([2-9][0-9][2468][048])$)|(^(0?2)([/])(29)([/])(1[89][13579][26])$)|(^(0?2)([/])(29)([/])([2-9][0-9][13579][26])$))" ControlToValidate="ScheduleTXT"></asp:RegularExpressionValidator> </td> <td> <asp:Button ID="ScheduleBTN" runat="server" Text="Schedule" CssClass="submitButton" OnClick="ScheduleBTN_Click" /> </td> </tr> <tr> <td> <asp:Label ID="ScheduleStatusLBL" runat="server">Appointment Status:</asp:Label> </td> <td> <asp:Button ID="AppointmentCompletedBTN" runat="server" Text="Complete" CssClass="submitButton" onclick="AppointmentCompletedBTN_Click" /> <asp:Button ID="NoShowBTN" runat="server" Text="No Show" CssClass="submitButton" onclick="NoShowBTN_Click" /> </td> </tr> </table> </asp
anel>\[/code\]This is the code behind that stores value from text box to the database:\[code\]UpdateArchProcSDS.UpdateParameters["ScheduledCall"].DefaultValue = http://stackoverflow.com/questions/15821393/ScheduleTXT.Text;\[/code\]
![Stick Out Tongue :P :P](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
![Stick Out Tongue :P :P](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)