J'ai ce formulaire et je voudrais cocher automatiquement le premier bouton radio et soumettre le formulaire.
Je vous demande donc comment le faire en vbscript ?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
<form method="post" name="poll_1575" onsubmit="return poll_results_1575('vote','http://www.URL.com/poll/popup.php','M','500','290','toolbar=noscrollbars=yes');" action="http://www.URL.com/poll/popup.php" target="M"> <table width="142" border="0" cellspacing="0" cellpadding="0" align="center"> <tr>  <td><img src="/images/ti-op.gif" width="142" height="25"></td>   </tr> <tr align="center">     <td background="/images/bg-op.gif">       <table width="100%" border="0" cellspacing="0" cellpadding="3" align="center">         <tr>           <td class="blacktxt" align="center" height="40" valign="middle" colspan="2"> :</td>         </tr>         <tr align="right" valign="top">           <td colspan="2">               <table width="100%" border="0" cellspacing="0" cellpadding="1" align="center"> <tr>   <td width="85%" class="redtxt">P</td>    <td width="15%" class="radio"><input class="input2" type="radio" name="option_id" value="1"></td>  </tr>  <tr>   <td width="85%" class="redtxt">C</td>    <td width="15%" class="radio"><input class="input2" type="radio" name="option_id" value="2"></td>  </tr>  <tr>   <td width="85%" class="redtxt">S</td>    <td width="15%" class="radio"><input class="input2" type="radio" name="option_id" value="3"></td>  </tr> </table> </form>