两个页面之间的变量如何传递?

MY_tt MY_tt 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
<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的值,这个问题很急,哪个大侠能够帮我看看?
...全文

相关推荐

评论 1
收藏 已收藏
分享
返回顶部
MY_tt
ASP 28,401 成员 356,940 内容