日期:2014-05-17  浏览次数:20971 次

请帮我看一下,我的这个值为什么得不到?在线等!!!
<%   userid=session( "id ")
sqlus= "select   *   from   corporation   where   id= "&userid& " "
Set   rsus=   conn.execute(sqlus)
  %>

<%jj=server.htmlencode(Request( "content "))   %>
<%

if   Request.QueryString( "mark ")= "southidc "   then
        radiobutton=jj
end   if
%>


<form   method= "POST "   action= "jj.asp?mark=southidc "   name= "form1 "   >
<table   width= "100% "   border= "0 "   cellspacing= "0 "   cellpadding= "0 ">
    <tr>
        <td   bgcolor= "#ffffde "> &nbsp;
            <label>
  <span   class= "STYLE1 "   style= "font-weight:   bold "> 交易 </span>
<input   type= "radio "   name= "radiobutton "   value= "1 ">
    <%   if   rsus( "flag ")=1   then%>    
    <span   style= "font-weight:   bold "> <span   class= "STYLE1 "> 商城 </span> </span>
    <input   type= "radio "   name= "radiobutton "   value= "2 "> <%   End   If   %>
<span   class= "STYLE1 "   style= "font-weight:   bold "> 估价 </span>
<input   type= "radio "   name= "radiobutton "   value= "3 ">
<span   class= "STYLE1 "   style= "font-weight:   bold "> 拍卖 </span>
<input   type= "radio "   name= "radiobutton "   value= "4 ">
</label>   td>
    </tr>
</table>

                             
</form>

<%   rsus.close
  %>

我想要获得radiobutton的值,不知道为什么得不到,请帮帮忙看看我的代码有什么问题,或者各位还有什么更好的方法

------解决方案--------------------
你是不是想获得表单中radiobutton的值?
表单中radiobutton的值:可以在提交的时候用javascript或是到提交的页面用request获得;