function xinxiShowInfo(strxinxitype,strxinxi,strdate)
{
window.location.href = "show_qiye_xingzhi.aspx?strxinxitype="+strxinxitype+"&strxinxi="+strxinxi+"&strdate="+strdate;
}调用
onclick='xinxiShowInfo("xingzhi",/'<%#DataBinder.Eval(Container.DataItem,"xiangmu")%>/',"")'运行后
onclick='xinxiShowInfo("xingzhi",融资企业企业,"")'
报错:Microsoft JScript 运行时错误: '融资企业企业' 未定义
各位大哥,该怎么解决这个问题
急~~~~~~~
{
window.location.href = "show_qiye_xingzhi.aspx?strxinxitype="+strxinxitype+"&strxinxi="+strxinxi+"&strdate="+strdate;
}调用
onclick='xinxiShowInfo("xingzhi",/'<%#DataBinder.Eval(Container.DataItem,"xiangmu")%>/',"")'运行后
onclick='xinxiShowInfo("xingzhi",融资企业企业,"")'
报错:Microsoft JScript 运行时错误: '融资企业企业' 未定义
各位大哥,该怎么解决这个问题
急~~~~~~~
解决方案 »
- 路过的看一下!
- ASP.NET 关于url分页的疑问
- 求教: 有过滤表格的通用正则表达式吗?
- 各位老大,帮忙啊!!!关于msgbox!
- 先有鸡,还是先有蛋,极有意思的问题
- 如何在codebehind中获得客户端的IP?
- 请教一下,在codebehind里处理事务 和 在存储过程里处理事务 各有什么优点缺点?
- 为何ASP.Net与HTML分离可正常运行,混合后无法运行?
- asp与数据库连接的问题?急,急!(在线等待)
- 导出excel提示cellRow value 65536 must be between 1 and 65534
- DataGird控件只显字段名,显示不出数据!急!
- 绑定 问题,高手快来
把
onclick='xinxiShowInfo("xingzhi",/'<%#DataBinder.Eval(Container.DataItem,"xiangmu")%>/',"")'用js从新把这里xinxiShowInfo("xingzhi",/'<%#DataBinder.Eval(Container.DataItem,"xiangmu")%>/',"")改一下吧
<script language="c#" runat="server">
public void yonps(){
}
</script>
在yonps函数里插入这样一段代码为什么会错
Response.Write("</script>");
为什么 ,请问有什么办法可以解决,
只要内在一个独立的代码文件里实现在一个函数内部可以输出Response.Write("</script>");
就可以了
Response.Write("<script>");是可以输出的