Hi,
I am really new to appery and Jquery.
for example my datepicker name is "datepicker1" , how can I get the date value in JS?
Thanks
Hi,
I am really new to appery and Jquery.
for example my datepicker name is "datepicker1" , how can I get the date value in JS?
Thanks
Hello Dongzhi,
Please use the following code
prevar value = $("[name=datepickerName] input").val();/pre
where datepickerName - datepicker name
Thanks Evegene, it worked!
Just for my reference and correct me if I am wrong. I have found the following web link regarding jquery selector. So judging from the code you provide. "input" is a descendant of datepicker .
http://www.w3schools.com/jquery/jquer...
-[attribute=value] | $("[href='default.htm']") | All elements with a href attribute value equal to "default.htm"
-parent descendant | $("div p") | All elements that are descendants of a element
Hello Dongzhi,
Sorry for delay. Yes, this is correct.