22问答网
所有问题
当前搜索:
asp中select
ASP
程序中变量在
select中
的使用,知道的超简单..着急中...
答:
给你个例子吧 <%'检验用户 user=checkstr(session("username"))pass=checkstr(session("password"))str="
select
username,send,name from user where username='"&user&"' and password='"&pass&"'"set rs=conn.execute(str)if rs.eof then response.redirect("userlogin.
asp
")else user_name=...
asp中
的form中,
select
下拉菜单,如何传递2个值?
答:
有两种解决方式:1、修改option
的
值 <option value="<%=rs("prod_type")%>|<%=rs("prod_name")%>"><%=rs("prod_name")%></option> 这样的话,就可以接收到如下的数据 XXX|YYYY ,这时,楼主只要将接收的数据分割一下就行了 前面的就是你的prod_type,后面的是prod_name 2、既然你...
ASP中 select
列表框选择不同内容,执行不同的行为怎么办
答:
其实你的这个问题说白了是
ASP 的
经典问题:也就是同一表单提交到多个不同的页面.\\ <script> function TwoSubmit(){ if (document.query_member.
select
what.value=="a1"){ form.action = "Search_MemberID.asp";}else{ form.action = "Search_MemberName.asp";} form.submit(...
ASP
获取下拉选单(
select
)显示值而非value值并保存
答:
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> </head> <body><
select
name="select1" id="select1" onchange="showtext(this.options[this.selectedIndex].text)"> <option ...
ASP
如何获取
SELECT
下所有OPTION的值?
答:
两种方法,一种是事先就将所有OPTION再放入到表单中的隐藏域中,然后
在ASP中
通过request.form来获取,另一种是用JS将所有OPTION的值传到服务端
ASP
SELECT
问题
答:
<script> function TEST(){ var Country_Id;var Province_Id;Country_Id=myform.Country_Id.value;Province_Id=myform.Province_Id.value;window.location.href="TEST.
ASP
?Country_Id="+Country_Id+"&Province_Id="+Province_Id+"";} </script> <form name="myform"> <
select
name="Country_...
asp中select
的option 问题
答:
楼上
的
方法可以,但是一般下拉菜单本身就不会很多选项,所以罗列出来之后在你要第一次显示的option里面加
selected
=“selected”的属性就可以了!<select name="wzlm" id="wzlm"> <option value="文学博览" selected=“selected”>文学博览</option> <option value="电子商务">电子商务</option> <...
ASP
页面中关于html下拉菜单<
select
>标签的问题
答:
<script> function beforeSubmit(form){ var inclasses = form.select;for( var i=0; i<inclasses.options.length; i++ ){ inclasses.options[i].
selected
= true;} return true;} </script> <form name="form" method="post" action="nextpage.
asp
" onsubmit="return beforeSubmit(this)">...
ASP
VB脚本
的Select
问题
答:
SELECT
user.user, user.password, zz.user AS user2, zz.password AS password2 FROM [user], zz WHERE user.user='用户名' AND user.password='密码' OR zz.[user]='用户名' AND zz.[password]='密码';执行这条 SQL 语句,判断记录集
的
EOF 属性,即可实现你所说的功能 ...
关于
asp
读取access
的select
语句
答:
第一行
的
查询条件是id字段的值为字符型id的数据 第二行查询条件爱你是id字段的值为id变量的数据(id必须为数字型,表中字段id的类型为数字)第三行好像你的表示应该有错误 应该是这样的 sql="
select
*form main where id ='"&id&"'"条件是查询id字段中值为字符型变量id的数据(这里字段id的类型为...
<涓婁竴椤
1
2
3
4
5
6
7
8
9
10
涓嬩竴椤
灏鹃〉
其他人还搜