有关在HTML里的传值,,,,!!! 关于传递参数<a href=printdetail.aspx?sbzh=3019520 target=_blank>,sbzh=3019520,请问这个参数能不能是一个同一界面的WEB控件的值(如是Label1.text),如能是,如何写? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <a href="javascript:doPost()">Click here</a><input type=text id="myText">fucntion doPost(){ window.location="printdetail.aspx?sbzh="+myText.value;} 可以的。但必须在服务器端的后代码里写Response.Redirect("printdetail.aspx?sbzh="+labei1.Text)or:Response.Write ("<script>window.open('printdetail.aspx?sbzh=" +labei1.Text+ "','_blank')</script>") "printdetail.aspx?sbzh="+document.all("lable1").value 简单写就是dim s as strings=label.textresponse.redirect "........aspx?sbzh=" & s 我按照楼上的方法去做了,但是不行,连页面也打开不了,奇怪!<a href="javascript:doPost()">Click here</a><input type=text id="myText">fucntion doPost(){ window.location="printdetail.aspx?sbzh="+myText.value;} 我用的是一楼esterlee(Hitman) 的方法,但还是不行... net_lover(孟子E章) ,wawalike(天龙黄毛) 的好象是在CS里传WEB控件的值了吧?我想的是在HTML里的传WEB控件的值呵. 求asp.net平台下的ajax+timer动态更新页面的实例! repeater嵌套做成横向导航菜单 问个母板页和内容页相互交互的问题,希望各位大哥大姐给于解决下,谢谢了. string转换成float类型 求个方法,怎么样得到不同的ID 服务器对ajax调用一直处于“正在加载”状态的问题 vb.net中如何检查远程服务器上的一文件是否存在? 水晶报表的点线宽度问题 哪位哥哥有asp.net音乐网站源程序?? vs.net无法打开已有的项目 repeater控件中的CheckBox问题 怎么解决无间隔的长串英文或数字实现自动换行
<input type=text id="myText">
fucntion doPost()
{
window.location="printdetail.aspx?sbzh="+myText.value;
}
dim s as string
s=label.text
response.redirect "........aspx?sbzh=" & s
<a href="javascript:doPost()">Click here</a>
<input type=text id="myText">
fucntion doPost()
{
window.location="printdetail.aspx?sbzh="+myText.value;
}
我想的是在HTML里的传WEB控件的值呵.