a200 发表于 2008-5-19 11:41

求自动投票代码

有一个投票的网站,代码如下,想编一个自动投票的VB,麻烦各位帮忙写VB代码,谢谢.
<form name="formPage">
                        <input type="hidden" id="babyID" name="babyID" value="136">
                        <input type="hidden" id="outerIP" name="outerIP" value="192.168.126.42">
                        <input type="hidden" id="innerIP" name="innerIP" value="192.168.126.42">
                        <input type="hidden" id="visualScore" name="visualScore" value="">
                        <input type="hidden" id="cuteScore" name="cuteScore" value="">
                        <input type="hidden" id="smileScore" name="smileScore" value="">
         
          <table width="100%" border="0" cellpadding="1" cellspacing="0">
            <tr bgcolor="#FBF5C0">
              <td width="219"  rowspan="3" class="line"><img src="/jsp/spec/ejiahuoli/images/icon.gif" width="209" height="72"></td>
                                <td width="91" align="right" class="line">最上镜评分</td>
                                <td width="172" class="line"><input type="radio" name="visual" id="visualScore1" value="3">
                    <label for="visualScore1">3 分</label>   
                    <input type="radio" name="visual" id="visualScore2" value="4">   
                    <label for="visualScore2">4 分</label>   
                    <input type="radio" name="visual" id="visualScore3" value="5">   
                    <label for="visualScore3">5 分</label>                </td>   
                                <td width="181" rowspan="3" class="line"><img src="/jsp/spec/ejiahuoli/images/vote_bottom.gif" name="bt_submit" onClick="funSubmit()" width="169" height="59" style="cursor: hand;"></td>
                        </tr>
                        <tr bgcolor="#FBF5C0">
                          <td width="91" align="right" class="line">最可爱评分</td>
                                <td class="line"><input type="radio" name="cute" id="cuteScore1" value="3">
                    <label for="cuteScore1">3 分</label>   
                    <input type="radio" name="cute" id="cuteScore2" value="4">   
                    <label for="cuteScore2">4 分</label>   
                    <input type="radio" name="cute" id="cuteScore3" value="5">   
                    <label for="cuteScore3">5 分</label>                </td>   
                                </tr>
                        <tr bgcolor="#FBF5C0">
                          <td width="91" align="right" class="line">最佳笑容评分</td>
                                <td class="line"><input type="radio" name="smile" id="smileScore1" value="3">
                    <label for="smileScore1">3 分</label>   
                    <input type="radio" name="smile" id="smileScore2" value="4">   
                    <label for="smileScore2">4 分</label>   
                    <input type="radio" name="smile" id="smileScore3" value="5">   
                    <label for="smileScore3">5 分</label>                </td>   
                                </tr>

          </table>
          </form>
          <div id="divLoad" class="loading" style="display: none; position:absolute; top: 130px; left: 350px;">
                        <table>
                                <tr height="50" valign="middle">
                                        <td>
                                        <img src="/images/indicator.gif">&nbsp;&nbsp;   
                                        正在提交投票,请稍等.....
                                        </td>
                                </tr>
                        </table>
                  </div>
          <!-- 投票 zhanglinqiang 20080504 End -->
         
<table>

a200 发表于 2008-5-19 16:47

<input type="radio" name="visual" id="visualScore3" value="5">
在VB中怎样用代码自动选中value="5"?

duanzelong 发表于 2008-6-4 19:30

有没搞错  在瞎搞吧他

三断笛 发表于 2008-6-4 20:05

5吗?
1吧?

页: [1]

编程论坛