html - calendar using only javascript -
html - calendar using only javascript -
i have textbox , calendar icon right beside it.
i want show calendar(datepicker
) when click on icon.
i tried using jquery datepicker
, it's not working.
is there way accomplish using only javascript?
you cannot attach datepicker
img
; utilize span
, div
or input
.
$(function() { $('#datepick').datepicker(); // inputs id });
by default, datepicker calendar opens in little overlay when associated text field gains focus. for inline calendar, attach datepicker div or span.
javascript html
Comments
Post a Comment