两个页面之间的变量如何传递?
<script language="vbscript">
sub change()
dim i1
dim p1
dim i2
dim p2
dim str1
//取出select的索引值
i1=frm1.select1.selectedindex
//取出select的value值
p1=document.all.select1.options(i1).value
//取出select的索引值
i2=frm1.select2.selectedindex
//取出select的value值
p2=document.all.select2.options(i2).value
if i1=0 then
if i2=0 then
str1="FNumber="
else
str1="FNumber like"
end if
else
if i2=0 then
str1="FClassName="
else
str1="FClassName like"
end if
end if
end sub
</script>
这是选择select时所要取出的值,这是一个页面,我想在另外一个页面里面能够调用str1的值,这个问题很急,哪个大侠能够帮我看看?
sub change()
dim i1
dim p1
dim i2
dim p2
dim str1
//取出select的索引值
i1=frm1.select1.selectedindex
//取出select的value值
p1=document.all.select1.options(i1).value
//取出select的索引值
i2=frm1.select2.selectedindex
//取出select的value值
p2=document.all.select2.options(i2).value
if i1=0 then
if i2=0 then
str1="FNumber="
else
str1="FNumber like"
end if
else
if i2=0 then
str1="FClassName="
else
str1="FClassName like"
end if
end if
end sub
</script>
这是选择select时所要取出的值,这是一个页面,我想在另外一个页面里面能够调用str1的值,这个问题很急,哪个大侠能够帮我看看?
...全文
相关推荐
硬件审阅表.doc
硬件审阅表
硬件审阅表模板.doc
硬件审阅表 姓名 性别 年龄 应聘岗位 评价要素 评价等级 序号 项目 分数 差 30% 一般 60% 良好 80% 优秀100% 1 所就读的学校 10 2 所就读的专业 15 3 相关工作经验 20 4 专业知识 20 5 身体素质 15 6 仪表 10 7 社会阅历 10 说明: 1、本表由人力资源部或分公司行政部填写。 2、表格的内容在考官不需要问话的前题下,凭审阅人的感觉及应聘者所 提供的资料进行判断。 3、计算方法: 1)应聘者每一项(共7项)的得分是该项的加权数乘以该项的满分数。 2)每一项的得分总和就是应聘者的最后得分。
硬件审阅表HR常用表格模板.doc
硬件审阅表HR常用表格模板.doc
声明书模板-财务报表审阅管理层声明
这是一款整理发布的声明书模板-财务报表审阅管理层声明,适用于企业理财、公司财务管理等,需...该文档为声明书模板-财务报表审阅管理层声明,是一份很不错的参考资料,具有较高参考价值,感兴趣的可以下载看看
微电机图纸审阅ABC
微电机图纸审阅的相关技巧和注意事项!包括结构、参数、纠错等内容


