php - date picker code in html -
We tried the code to display the date using the date picker, one page for it and one page for dates Should be displayed twice, but it is not displayed for the date only and currently the date
& Lt; Link rel = 'stylesheet' id = 'colors-fresh-css' href = 'colors-fresh.css' type = 'text / css' media = 'all' /> & Lt; Link rel = "stylesheet" href = "http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" /> & Lt; Script src = "http://code.jquery.com/jquery-1.8.2.js" & gt; & Lt; / Script & gt; & Lt; Script src = "http://code.jquery.com/ui/1.9.1/jquery-ui.js" & gt; & Lt; / Script & gt; & Lt; Link rel = "stylesheet" href = "/ resources / demos / style.css" /> & Lt; Script & gt; $ (Function () {$ ("#datepicker") .datepicker (); $ ("# icon"). Click (function () {$ ("# datepicker"). Duplicator ("show")}} }); & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Input type = "text" id = "datepicker" name = 'to' size = '9' value = "" /> & Lt; Img src = 'images / calender.PNG' id = 'icon' height = '25px' width = '25px' / & gt; & Lt; / Body & gt; & Lt; / Html & gt;
Why do not you use the input type date
& lt; Input type = "date" id = "datepicker" name = 'to' size = '9' value = "" />
Comments
Post a Comment