+1 vote
i want to use date picker control to select the dates in my project..
asked Jan 28, 2016 in Computer Science - IT by gypsiii | 119 views
before adding further codes,you have to add a datepicker in your project ..have you added a datepicker ?
using NetBeans IDE...
have you added a datepicker ?
we need to design datepicker in html and then code in php..

1 Answer

0 votes
Selected Ans.

Try this to design datepicker :

<!DOCTYPE html>
<link rel="stylesheet" 


<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
  $(document).ready(function() {
    <input id="datepicker" />

 Then use the value from the input type to your php code..please post if further errors

Edit 1 :

If you just want a simple datepicker try the code below :

  <input type="date" name="datepick">
  <input type="submit">

Note :

Previous codes have the google hosted files for their themes for the datepicker hence we used some href values

More Read here

answered Jan 28, 2016 by techdoubt
edited Aug 10, 2016 by slow_learner
yaa working..tanq
but i don't understand why we need this part of codings...can u explain?

<link rel="stylesheet"




<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-

  $(document).ready(function() {
try removing them and run the code and let me know whether its working or not ? :)
2nd method is very simple to use..tanq