Hi!
I need help to install or actually to make this freesource code working...
at the first time, the script is working very well.. but when i inserted <form> ..script here.. </form> everything isn't working... can anyone help me with this?
you guys can download the script at http://www.dynarch.com/projects/calendar/download/1.8/JSCal2-1.8.zip
please refer below for my code:
<html>
<head>
<title>Test Calendar</title>
<script src="sys_admin/js/jscal2.js"></script>
<script src="sys_admin/js/lang/en.js"></script>
<link rel="stylesheet" type="text/css" href="sys_admin/css/jscal2.css" />
<link rel="stylesheet" type="text/css" href="sys_admin/css/border-radius.css" />
<link rel="stylesheet" type="text/css" href="sys_admin/css/steel/steel.css" />
</head>
<body><form method="post" name="submit" action="">
<input size="30" id="f_date1" /><button id="f_btn1">...</button><br />
<script type="text/javascript">//<![CDATA[
var cal = Calendar.setup({
onSelect: function(cal) { cal.hide() },
showTime: true
});
cal.manageFields("f_btn1", "f_date1", "%Y-%m-%d");
//]]></script>
</form>
</body>
</html>
Please guide me.. thank you.