<html>
<script type="text/javascript">
g_calendarObject = new JsDatePick({
useMode:1,
isStripped:true,
target:"aFieldId",
cellColorScheme:"armygreen"
});
g_calendarObject.setOnSelectedDelegate(function(){
var obj = g_calendarObject.getSelectedDay();
alert("a date was just selected and the date is : " + obj.day + "/" + obj.month + "/" + obj.year);
});
</script>
<h4>STOCK RECORDING SYSTEM</h4>
<form action="action.php" method="post">
<table border="0" width="200">
<tr>
<tr>
<td>Produk :</td><br>
<td><input type="text" size="12" maxlength="22" name="Produk"></td>
</tr>
<tr>
<td>Jumlah :</td>
<td><input type="text" size="12" maxlength="22" name="Jumlah"></td><br>
<tr>
<td>Tanggal :</td>
<td><input type="date" size="12" maxlength="22" name="Tanggal" value="10-01-2013"></td><br>
</tr>
</table>
</form>
Hello, I am trying to incorporate for tanggal (date) http://javascriptcalendar.org/javascript-date-picker.php
I would like to see the date turns into a calender. how? Is there any more code that I need to add in order to get a calender?