Using the jQuery UI, how can I get the value of the date picker in the http post when it's used like this within a form:
<div id="datepicker"></div>
$('#datepicker').datepicker({ onSelect: function(dateText, inst) { $("input[name='something']").val(dateText); } });
Here's a fiddle: http://jsfiddle.net/jensbits/9hbmy/338/
2.1m questions
2.1m answers
60 comments
57.0k users