focus and select and chaneg the backgroud color //document.frmName.duedate.background.color="blue";document.frmName.duedate.style.backgroundColor="blue" 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 You can change the selectedIndex property, like this:document.frmName.duedate.selectedIndex=2; Try this :document.frmName.duedate.focus();document.frmName.duedate.style.backgroundColor="blue";document.frmName.duedate.select(); 如何用jquery得到表单属性为数组值 js点击事件在360浏览器下无效? 请问setInterval是不是不能精确到毫秒的? 100分奉上!!!求高手做出这个JS效果 请教追加table行的问题。 请教一下jquery load()的回调函数在火狐下的问题? div层跨帧显示 在表单中用window.open打开一个窗口,能不能把原窗口的一个值带到新窗口 session里面的量怎么从一个html传给js 怎样获得网页的总宽度及总高度?即,如果所有内容在一屏中容纳下时,如何获得可见及不可见的内容的总宽度及总高度? 对于点击展开树节点,请指教! 身份证验证的js代码
document.frmName.duedate.focus();
document.frmName.duedate.style.backgroundColor="blue";
document.frmName.duedate.select();