不行啊!
我的JS代码是:
document.getElementById('tb').value+=document.getElementsByTagName("a")[i].href;
需要加在哪???
我的JS代码是:
document.getElementById('tb').value+=document.getElementsByTagName("a")[i].href;
需要加在哪???
解决方案 »
- C#处理word错误:“Unable to cast COM object of type 'Microsoft...'”(100%结贴)
- 如何获得input对象的值
- 子控件调用母控件的问题,谢谢
- 在ASP.NET下怎样实现防止从外部提交数据?
- 大家好谁有牛车的Tree阿?给介绍介绍谢谢!
- 100分 求DG行数组 FOR循环 见者有分
- 如何确定DataGrid中点击的模板列
- 内网妨问丝豪没有问题,外网妨问频出问题。。
- 我安装了.net framework1.1 还有.net frameword1.1 sdk后.说是Imports 'System.Date.SqlClient' cannot be found.
- 这个问题都好几天了,还没人帮我解决掉(给100分)
- listBox控件引发的困惑(在WinForm和WebForm中的区别)
- 急招asp.net高手
这个如果你是字符串在C#里面给js的
那么
string js = "http://localhost:1043/WebSite2/Default.aspx\\r\\nhttp://localhost:1043/WebSite2/TextLink.aspx\\r\\nhttp://localhost:1043/WebSite2/Default2.aspx\\r\\nhttp://localhost:1043/WebSite2/Default3.aspx"
这个值是从HTML中获得的:
http://localhost:1043/WebSite2/Default.aspxhttp://localhost:1043/WebSite2/TextLink.aspxhttp://localhost:1043/WebSite2/Default2.aspxhttp://localhost:1043/WebSite2/Default3.aspx
需要传给服务器的 <asp:TextBox >控件,并显示出来!
就出现了这中情况http://localhost:1043/WebSite2/Default.aspxhttp://localhost:1043/WebSite2/TextLink.aspxhttp://localhost:1043/WebSite2/Default2.aspxhttp://localhost:1043/WebSite2/Default3.aspx
汗 早说textbox里面
加上一个属性
<asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine"></asp:TextBox>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~