datepicker within php page
hello,
hope someone can help me out here
I am trying to get the kevin luck datepicker (if you google, it's at the top off the list) too work
I have made simple php test page
the js sourcefiles are in the same folder as the page
What am Y missing??
the code in the php page:
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="date-picker.css" rel="stylesheet" type="text/css" />
</script>
<!-- jQuery -->
<script type="text/javascript" src="jquery-datePicker-2.1.2.min.js"></script>
<!-- required plugins -->
<script type="text/javascript" src="date.js"></script>
<!--[if IE]><script type="text/javascript" src="scripts/jquery.bgiframe.js"></script><![endif]-->
<!-- jquery.datePicker.js -->
<script type="text/javascript" src="jquery.datePicker-2.1.2.js"></script>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
<label>
<input type="text" name="date-picker" id="pick-date" />
</label>
<script type="text/javascript">
$(function(){
// initiate date picker
$('#pick-date').datePicker();
});
$('#pick-date').datePicker();
</script>
</form>
</body>
</html>
regards, Richard