datepicker problem

Javascript coding ..

Moderators: macek, egami, gesf

Post Reply
kevz
New php-forum User
New php-forum User
Posts: 29
Joined: Fri Mar 15, 2013 6:50 am

datepicker problem

Post by kevz » Sun Mar 24, 2013 10:18 am

hi,

i have tried following this tutorial from http://glad.github.com/glDatePicker/#examples
It doesnt seem to work for me. Here is the code i put:

Code: Select all

<link href="js/styles/glDatePicker.default.css" rel="stylesheet" type="text/css">
</head>

Code: Select all

<input name="userDOB" type="text" id="mydate" class="field" style="width:100px;" />

Code: Select all

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="js/glDatePicker.min.js"></script>
<script type="text/javascript">
        $(window).load(function()
        {
            $('mydate').glDatePicker();
        });
    </script>
</body>
</html>
Does anyone know the problem and knows how to fix this?

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests