这段程序为什么不执行? 把它另存为.ascx 看看!难道也不行吗?不会吧! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我就是在.ascx中执行的,没反应。不过我的.ascx中还有别的东西,应该不矛盾吧? function StartSearch() { //使用隐藏控件保存用户输入的查询参数 document.forms[FirstForm+document.InputForm.SearchSelect. selectedIndex].elements[0].value=document.InputForm.SearchWords.value; //提交查询参数到指定网站 document.forms[FirstForm+document.InputForm.SearchSelect.selectedIndex].submit(); } 脚本错误document.InputForm.SeachSelect.options[document.InputForm.SeachSelect.selectedIndex].value document.forms[FirstForm+document.InputForm.SearchSelect. selectedIndex].elements[0].value=document.InputForm.SearchWords.value; //提交查询参数到指定网站 document.forms[FirstForm+document.InputForm.SearchSelect.selectedIndex].submit(); 我很想知道为什么是document.forms[FirstForm+ 我也不知道为什么,因为这是我的一本书上介绍的《程序天下javascript》在.htm中执行的很好啊。我想放在我的.ascx网页中,出现了:在网页中有错误!提示。 .net只允许一个<form >,理所当然会出错的拉。你这是跨网站提交的问题,2003中比较麻烦,但在2005里很容易http://dotnet.chinaitlab.com/ASPNET/739718.html自己研究一下吧 easyui怎么动态显示列标题 如何用javascript控制元素属性 客户端如何建立ssl连接 清除页面的部分缓存方法 js 读取文件的编码文件问题 请问如何使用JS动态增加表格以及其中的输入框 如何做一个程序,一但选定checkbox,会有一个confirm信息提示 一个javascript的ajax问题(jquery).内容不知道怎么说,请进来看代码。 大家帮忙看看我左边导航的上下尖头为什么不管用? 简单的问题,关于打开窗口的window.open属性 javascript dom对象添加问题 window.show.innerHTML是什么意思
{
//使用隐藏控件保存用户输入的查询参数
document.forms[FirstForm+document.InputForm.SearchSelect.
selectedIndex].elements[0].value=document.InputForm.SearchWords.value;
//提交查询参数到指定网站
document.forms[FirstForm+document.InputForm.SearchSelect.selectedIndex].submit();
}
脚本错误document.InputForm.SeachSelect.options[document.InputForm.SeachSelect.selectedIndex].value
selectedIndex].elements[0].value=document.InputForm.SearchWords.value;
//提交查询参数到指定网站
document.forms[FirstForm+document.InputForm.SearchSelect.selectedIndex].submit(); 我很想知道为什么是
document.forms[FirstForm+
你这是跨网站提交的问题,2003中比较麻烦,但在2005里很容易
http://dotnet.chinaitlab.com/ASPNET/739718.html自己研究一下吧