1、选择日期控件
<input type="text" name="chengWenRiQi" cols="20" size=20 maxlength="20" onClick="WdatePicker()">
默认显示当前日期
<input type="text" name="chengWenRiQi" cols="16" size=16 maxlength="16" value=<?php echo $CUR_DATE;?> onClick="WdatePicker()">
2、选择人员控件
<input type="hidden" name="TO_ID" value="">
<textarea cols=40 name="TO_NAME" rows=2 class="BigStatic" wrap="yes" readonly></textarea>
<a href="javascript:;" class="orgAdd" onClick="SelectUser(‘‘,‘TO_ID‘, ‘TO_NAME‘)">添加</a>
<a href="javascript:;" class="orgClear" onClick="ClearUser(‘TO_ID‘, ‘TO_NAME‘)">清空</a>
原文地址:http://blog.csdn.net/upi2u/article/details/42152133