zoukankan
html css js c++ java
asp的邦定表达式异常 <_ %_ = strParentid _%_>不能传到下个页面
父页面:
<
script language
=
"
javascript
"
type
=
"
text/javascript
"
>
function
Linkurl(id)
//
invoked by 新增 按钮
{
var
mywin
=
window.showModalDialog('edit_jobdoc.aspx
?
insert
=
0
&
ID
=
'
+
id,'','status:Modeless;edge:raised;unadorned:no;scroll
=
no;resizable:yes;center
=
yes;help:no;dialog510px;dialogheight:315px');
if
(mywin
==
'refresh')
{
document.getElementById('btnRefresh').click();
}
}
</
script
>
<
input
id
="Button1"
class
="btn"
type
="button"
value
="新增"
onclick
="javascript:Linkurl('<%=strParentid %>');"
/>
如果加上
runat=server
在子页面就得不到ID的值了,
edit_jobdoc.aspx中:
strID
=
Request.QueryString[
"
ID
"
].ToString();
断点得到的
{insert=0&ID=%3c%25%3dstrParentid+%25%3e}
另外:'edit_jobdoc.aspx?insert=0&ID='+id,'','.......' 最好用'edit_jobdoc.aspx?insert=0&ID='+id,'window',
window的作用我还不是很明确。
查看全文
相关阅读:
mybatis框架-用类映射返回结果
ArrayLLis 线程不安 实验
快速求幂运算笔记
nyoj 56 阶乘中素数的个数
求正整数n所有可能的和式的组合(如;4=1+1+1+1、1+1+2、1+3、2+1+1、2+2
synchronize学习
nyoj 找球号三(除了一个数个数为基数,其他为偶数,编程之美上的)
递归判断一个数是否递增
快速排序c++
x&-x
原文地址:https://www.cnblogs.com/simhare/p/922546.html
最新文章
如何将图片保存至自定义分组
创新型政府网站群建设
hdu1466 计算直线的交点数
iOS UIWebView 访问https 绕过证书验证的方法
错排问题
用GDAL/OGR去读shapefile
Draw2d中的布局管理器Layout比较
利用glibc中锁结构的信息解决死锁问题
android 利用重力感应监听 来电时翻转手机后静音。
hdu 1754 I Hate It
热门文章
《mysql必知必会》学习_第八章
调用互联互通
vscode vscode中如何查看git提交的历史记录 拉取代码的时候出现冲突 进行回滚
技术笔记1:java.sql.SQLException: Access denied for user 'root'@'localhost' (using password)
'�й� You must configure either the server or JDBC driver (via the 'serverTimezone' configuration property) to use a more specifc time zone value if you want to utilize time zone support. -> [Help 1]
You must configure either the server or JDBC driver (via the serverTimezone conf)
"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd" 报错
nodeJs安装
VUE前端项目启动的时候要修改的某些文件
http和https调用 SDK调用
Copyright © 2011-2022 走看看