I am very new to jQuery, so this might be a dumb question. I am using jQuery datepicker and I am trying to extract a date from input in a simple <div> .
The page works as follows:
- You select a date using jQuery datepicker.
- You pick time using jQuery timepicker.
- You select a place with a normal selection field.
- A text will appear, and you must confirm the date, time and place.
I have a problem getting values ββfrom inputs.
When I use this script, nothing happens:
$("input").keyup(function () { var value = $(this).val(); $("#datum").text(value); }).keyup();
I have a div with id="datum" where I want to display the results.
My datpike code is as follows:
$('#datepicker').datepicker( { onSelect: function(date) { $("#pick_time").show();
source share