aom
共 1 篇文章
aom中js的控制
日期控件只显示年月 <w:dateField id="date4" format="yyyy-MM -dd" width="80" onblur="test();"/> <w:script> function test() { var mydate = document.getElementById('myform:date4').value; document.getElementById('myform:date4').value = mydate.substring(0,7); } </w:script> js控制 <w:script> function test() { alert(…
2013-10-11 22:08 · aom