How do I get the text from a textbox into a variable that is being sent through an AJAX ‘POST’ request?

I want the text from the ‘txtDATE’ textbox into the variable press_date. The current AJAX post is working perfectly. (except that it’s static and I want the variable). I have been searching for answers and trying everything all day. Any help is appreciated. Answer In place of: You should be able to use: I would also consider placing a ClientIDMode=”Static” attribute for the text box as this would prevent the server side code from re-naming the txtDATE text box by the server side system. And this will ensure that the jquery selector $(‘#txtDATE’) will be able to reference a un-changed

On validation prevent calender control to open

I want to prevent open calendar control on save button at time of validation fire , I am not able to find how can I prevent It I have one calendar control in form , select date validation fire on save button after validation it will direct focus on calendar control and open calendar automatically , business don’t want to open calendar control HTML I want to prevent open calendar open on save button let me know if any solution over there Thank you Answer I have solve this issue to change in formValidation.JS In this file there is one