document.all.sltIssueFromYear用all来取,或者forms[0]也行.
解决方案 »
- 请问这段代码如何处理,让消息框上升的速度更快些
- jquery获取html对象,是否可以获取某个文字为对象
- firefox下的监听事件和event获取问题
- popup窗口调用js函数的问题!
- JS模板类 更多的结约服务器CPU
- 有一个"层<div>"如何使他居中,也就是说不管分辨率是800*600还是1024*768,如何控制这个层都在屏幕的正中间
- 动态生成 DOCTYPE 元素
- 网站统计,图片统计原理或者代码
- 急死了!为什么调用JS文件总是说变量未定义??今天要交工!帮一把吧各位高手……在线等,解决给分
- 请会网页制作的高手帮忙,急!!
- 同一页面不断刷新,如何在js中定义全局变量?
- 关于跳出框架,且不关闭框架,弹出页面作为一个新页面显示
{
var crruteDate=new Date();
var year=crruteDate.getFullYear();
var month=crruteDate.getMonth();
var day=crruteDate.getDate();
var hour=crruteDate.getHours();
var numDays=numberOfDays(month,year); document.getElementById("sltIssueFromDay");
var ss = document.getElementById("sltIssueFromYear").selectedIndex
document.getElementById("sltIssueFromYear").selectedIndex=year-2006; document.getElementById("sltIssueFromMonth").selectedIndex=month;
if(numDays==30)
{
document.getElementById(sltIssueFromDay).remove(numDays);
}else if(numDays==28)
{
document.getElementById("sltIssueFromDay").remove(numDays);
document.getElementById("sltIssueFromDay").remove(numDays+1);
document.getElementById("sltIssueFromDay").remove(numDays+2);
}
document.getElementById("sltIssueFromDay").selectedIndex=day-1;
document.getElementById("sltIssueFromHour").selectedIndex=hour;
document.getElementById("sltIssueToYear").selectedIndex=year-2006;
document.getElementById("sltIssueToMonth").selectedIndex=month;
document.getElementById("sltIssueToDay").selectedIndex=day-1;
document.getElementById("sltIssueToHour").selectedIndex=hour; }以上是java script的脚本,系统在页面加载的时候 调用该脚本!
If you try to do a interactive Connection command using a scripted Connectors or a scripted Parsers attached to a Connector then you will get the above error if you have used the main object in your Connector. Your AssemblyLine will work fine when you run it, it is only when you interactively use the Connect functionality that it will fail. 那个工具没用过,不知道是做什么的,不过找到些资料,上面这段差不多意思就是说不能进行交互式的脚本
web 2.0规范都建议用的方式,绝大多数浏览器都支持的啊...........
该测试工具是 模拟用户点击浏览器的行为!