WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 DatePicker placed on a FORM, Václav Ševčík, August 10, 2003
     Re:DatePicker placed on a FORM, Erik Arvidsson, August 11, 2003
         Re:DatePicker placed on a FORM, Bane, September 11, 2003
             Solution, Bane, September 11, 2003

Subject: Solution From: Bane Date: September 11, 2003
after trying and trying and reading some other posts on this forum i found the solution.

its really easy:

form name="form1">
<table width=250>
<td> vor </td>
<td id="date1">
<td id="combo1">
dm=new ComboBox("dm",combo1)
// add combo box to td with id = combo 1 (container)
new ComboBoxItem("barge",1),
new ComboBoxItem("benluc",2),
new ComboBoxItem("benlieeeeck",3),
new ComboBoxItem("taco",4)
// generate 1000 more to test performance
for (var i = 0; i < 1000; i++ )
dm.add(new ComboBoxItem(String(i)));

<script type="text/javascript">
var dfdsfd = new Date();
var dpdfdsfd = new DatePicker(dfdsfd);
// append the datepicker to the td with id = date1
<td> dahinter </td>

the form field with the id could also be a div or anything else.


Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.

View All Messages
Back to WebFX