+1 vote
119 views
i want to use date picker control to select the dates in my project..
Category
asked Jan 28, 2016 | 119 views
using NetBeans IDE...
have you added a datepicker ?
we need to design datepicker in html and then code in php..

Selected Ans.

Try this to design datepicker :

<!DOCTYPE html>
<html>

<script

<script>
$(document).ready(function() {$("#datepicker").datepicker();
});
</script>
<body>
<form>
<input id="datepicker" />
</form>
</body>
</html>

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 :

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

Note :

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

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

s/jquery-ui.css">
<script

$(document).ready(function() {$("#datepicker").datepicker();