hi guys
i creat a form in this user have to enter his/her date of birth in text box but i want to show icon near that when he/she click on that clander should open and he select date month and year from thatand it display on the text box he can not direcly enter on the text box
so kindly help me in this regards if any one know
thanks in advance waitng for ur replies
calander in php
Moderator: General Moderators
Re: calander in php
?????????
kindly help me in this regards or give me any idea that how it can be done bcoz i beleive that no thing is impossible
waiting for replies
kindly help me in this regards or give me any idea that how it can be done bcoz i beleive that no thing is impossible
waiting for replies
Re: calander in php
thanks dear forur reply yes i need same thing but kindly send me php code for that
Re: calander in php
kindly check this i have used this code it is same as in the link i just copied but it is not working properly
<html >
<head>
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker();
});
</script>
<title>Untitled Document</title>
</head>
<body>
<div class="demo">
<p>Date: <input type="text" id="datepicker" ></p>
</div><!-- End demo -->
</body>
</html>
<html >
<head>
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker();
});
</script>
<title>Untitled Document</title>
</head>
<body>
<div class="demo">
<p>Date: <input type="text" id="datepicker" ></p>
</div><!-- End demo -->
</body>
</html>
Re: calander in php
Search the Internet looking for "datepicker" PHP/Javascript functions with examples and tutorials and then select the code which is given in the examples and read the tutorial guidelines. There's one here:
http://www.triconsole.com/php/calendar_datepicker.php
If you can't make one particular tutorial's code work, don't fret about it, just save what you've done with the link to the tutorial, and move on to the next tutorial, and so on, until you've got one fully working. Then, (if you want to improve your php abilities,) go back to the tutorials that you couldn't understand and modify your saved code to make those ones work too. Then store all the code in a safe place for you to look back over at sometime in the future so you can see how far you've progressed, or to remember how to use a particular function.
http://www.triconsole.com/php/calendar_datepicker.php
If you can't make one particular tutorial's code work, don't fret about it, just save what you've done with the link to the tutorial, and move on to the next tutorial, and so on, until you've got one fully working. Then, (if you want to improve your php abilities,) go back to the tutorials that you couldn't understand and modify your saved code to make those ones work too. Then store all the code in a safe place for you to look back over at sometime in the future so you can see how far you've progressed, or to remember how to use a particular function.
Re: calander in php
You aren't going to get *PHP* code that does that... that's Javascript. Read the documentation that is available on the site. It utilizes jQuery, so also check the jQuery documentation... http://jquery.com...myasirm wrote:thanks dear forur reply yes i need same thing but kindly send me php code for that
Re: calander in php
thank u dear i resolved my problem with ur help