Board index   FAQ   Search  
Register  Login
Board index php forum :: HTML JavaScript

datepicker problem

Javascript coding ..

Moderators: macek, egami, gesf

datepicker problem

Postby 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?
kevz
New php-forum User
New php-forum User
 
Posts: 29
Joined: Fri Mar 15, 2013 6:50 am

Return to JavaScript

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.