|
Publicité ' | |||||||||||||||||||||||
|
|
#1 |
|
Expert Confirmé
![]() ![]() Mehdi TounisianoEnseignant Inscription : juin 2009 Messages : 1 701 ![]() |
![]() 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 :
<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> |
|
|
00
|
|
|
#2 | ||
|
Nouveau Membre du Club
![]() Technicien Help Desk Inscription : décembre 2012 Messages : 23 ![]() |
En VB ?
![]() Dans quel environnement ? Et quel est ce formulaire à valider ? Au pire... Code :
|
||
|
|
00
|
Copyright © 2000-2013 - www.developpez.com