找回密码
 加入
搜索
查看: 3596|回复: 1

[IE类操作] post网面内的变量,au3可以做到吗?

[复制链接]
发表于 2012-11-29 01:37:07 | 显示全部楼层 |阅读模式
问题:au3如何post获取下面红色字的变量?au3可以做到吗?
<%=rs("pingpai")%><%=rs("bianhao")%><%=rs("bookcolor")%><%=rs("booksize")%>&nbsp;

下面是这个网面的源代码内容,高手看看au3可以做到?
<!--#include file="conn.asp"-->
<html>
<head>
<title>订单信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.dianghua {
        font-size: 20px;
        font-weight: bold;
}
.dianghua2 {
        font-size: 20px;
        font-weight: bold;
}
.st {
        font-size: 28px;
        font-weight: bold;
}
.sfdz {
        font-size: 18px;
        font-weight: bold;
}
body {
        background-color: #F1F1F1;
}
-->
</style>
</head>
<body>
<%
if request.cookies("admin")="" then
response.Write "<script LANGUAGE='javascript'>alert('网络超时或者您还没有登录请登录');window.location.href='login.asp';</script>"
response.End
end if
dim danid
danid=request("danid")
set rs=server.CreateObject("adodb.recordset")
rs.open "select shop_books.bookid,shop_books.bookname,shop_books.weight,shop_books.shichangjia,shop_books.huiyuanjia,shop_books.pingpai,shop_books.bianhao,shop_action.danjia,shop_action.zonger,shop_action.youhui,shop_action.bookcount,shop_action.bookcolor,shop_action.booksize from shop_books inner join shop_action on shop_books.bookid=shop_action.bookid where shop_action.dingdanid="&danid,conn,1,1
if rs.eof and rs.bof then
%>
<%
response.End
end if
set rs1=server.CreateObject("adodb.recordset")
rs1.open "select * from dingdan where dingdanid="&danid,conn,1,1
%>
<table cellspacing="0" cellpadding="0">
  <col width="67">
  <col width="99">
  <col width="237">
  <col width="72">
  <col width="246">
  <tr height="30">
    <td height="30" width="67"></td>
    <td width="99"></td>
    <td width="237"></td>
    <td width="72"></td>
    <td width="246"> </td>
  </tr>
  <tr height="54">
    <td height="45" width="67"></td>
    <td width="99" valign="top"><form name="form1" method="post" action="">
      <select name="select" class="dianghua">
        <option selected>简约</option>
        <option>简约1</option>
                <option>简约2</option>
                <option>简约3</option>
                <option>简约4</option>
      </select>
    </form>    </td>
    <td width="237" align="center" valign="top"><span class="dianghua">37329791</span><strong><br><%=rs1("actiondate")%></strong></td>
    <td></td>
    <td width="246"></td>
  </tr>
  <tr height="68">
    <td width="380" colspan="3" valign="middle" class="dianghua">
      <%
pingpai=rs1("pingpai")
bianhao=rs1("bianhao")
bookcolor=rs1("bookcolor")
booksize=rs1("booksize")
                do while not rs.eof
                %>
      <%=rs("pingpai")%><%=rs("bianhao")%><%=rs("bookcolor")%><%=rs("booksize")%> 
    <%        
                rs.movenext
                loop
                rs.movefirst%></td>
    <td width="318" colspan="2" valign="top" class="sfdz"><%=rs1("shouhuoname")%>,<%=rs1("usertel")%>,<%=rs1("shouhuodizhi")%>,<%=rs1("youbian")%></td>
  </tr>
  <tr height="34">
    <td rowspan="2" height="55" width="67"></td>
    <td colspan="2" width="336"></td>
    <td colspan="2" width="318"></td>
  </tr>
  <tr height="21">
    <td colspan="2" height="21" width="336"></td>
    <td colspan="2" width="318"></td>
  </tr>
  <tr height="19">
    <td rowspan="2" height="38" width="67"></td>
    <td colspan="2" rowspan="2" width="336"></td>
    <td width="318" colspan="2" rowspan="2" class="sfdz">签收当快递面点清数量,有问题及时联系</td>
  </tr>
  <tr height="19"></tr>
</table>
<div align="center">
  <input type="submit" class="go-wenbenkuang" name="Submit" value="打 印" onClick="javascript:window.print()">
</div>
</body>
</html>
发表于 2012-11-29 07:20:32 | 显示全部楼层
回复 1# alice148


    这是正则提取吧?楼主一句代码也没有??
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-12-23 04:55 , Processed in 0.283550 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表