morreke
Newbie
Posts: 1
Registered: 2/27/2008
Member Is Offline
|
| posted on 2/27/2008 at 09:43 AM |
|
|
Can't get it to work
Hi,
ive put the calendar into my code but it doesn't seem to work and i don't know what i'm doing wrong here.
this is my code:
| Code: |
[...]
<form name="tstest" method="post">
<table width="100%" border="0">
<tr>
<td align="center"><table border="0">
<tr>
<td width="200" align="left"><input name="timestamp" type="timestamp" class="box" id="timestamp" value="" size="30"
border="0"></td>
<td width="180" align="left"><a href="javascript:cal1.popup();"><img src="cal.gif" width="16" height="16"
border="0" alt="klik hier voor de datum"></a></td> // added javascript for pop-up
<td width="12" align="left"></td>
</tr>
<tr>
<td colspan="2" align="left"><textarea name="content" cols="50" rows="10" class="box" id="content" border="0">voer
hier je bericht in !</textarea></td>
</tr>
<tr>
<td colspan="2" align="right"><input name="save" type="submit" class="erase" id="save"
onclick="parent.location.reload()" value="bewaren!" ></td>
</tr>
</table></td>
</tr>
</table>
</form>
<script>var cal1 = new calendar1(document.forms['tstest'].elements['timestamp']);</script> // code for calendar
</body>
</html>
|
what can be wrong here
|
|
|
tigra
Administrator
Posts: 1976
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 2/27/2008 at 03:06 PM |
|
|
<input name="timestamp" type="timestamp"
should be
<input name="timestamp" type="text"
also:
http://www.softcomplex.com/forum/faq.php?page=forumrules
#4
|
|
|