what is the right way too add script to php page. i have the code with html and it work fin
[CODE]<!DOCTYPE html>
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html;charset=utf-8″>
<link rel=”stylesheet” href=”./js/jquery.calendars.picker.css”>
<script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js”></script>
<script src=”./js/jquery.plugin.js”></script>
<script src=”./js/jquery.calendars.js”></script>
<script src=”./js/jquery.calendars.plus.js”></script>
<script src=”./js/jquery.calendars.picker.js”></script>
<!–<script src=”jquery.calendars.picker.ext.js”></script><!– Include for ThemeRoller styling –>
<script src=”./js/jquery.calendars.ummalqura.js”></script>
<script>
$(function() {
var calendar = $.calendars.instance(‘ummalqura’);
$(‘#popupDatepicker’).calendarsPicker({calendar: calendar});
});
function showDate(date) {
alert(‘The date chosen is ‘ + date);
}
</script>
</head>
<body>
<p><input type=”text” id=”popupDatepicker”></p>
</body>
</html>
it is very important for me to work without html tag.
this is the Source link: [url]http://keith-wood.name/calendarspicker.html