Envoyer un formulaire sans bouton
Bonjour à tous,
Tout d'abord un grand merci de votre éclairage, s'il existe une solution :-)
J'ai sur ma page php le code suivant :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
| <input id="btn_request_payoff" class="button-green" type="button" value="Argent">
<!-- End of Payout confirmation modal--><div id="request_payoff" style="display: none; position: absolute; left: 520px; top: 405.5px;">
<table class="box_headline" height="26" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td class="infbox-headline" width="30" valign="bottom"><img src="../img/1t.gif" width="25" height="25" alt=""
border="0" vspace="0" align="bottom"></td>
<td class="infbox-headline" valign="bottom"><span class="headline-add">Argent</span></td>
<td class="infbox-headline" valign="middle" align="right"> </td>
</tr>
<tr>
<td colspan="3" height="1" bgcolor="#666666"><img src="../img/2.gif" height="1" width="1"></td>
</tr>
</tbody></table>
<form id="form_request_payoff" method="post" name="test" action="/a/solde.php">
<input type="hidden" name="request_payoff" value="1">
<table class="basic" width="100%" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td colspan="2" class="my-data" align="center">
Voulez-vous votre argent ? </td>
</tr>
<tr>
<td align="center" class="my-data">
<p class="m8"></p>
<input class="button-green" type="button" id="request_payoff_yes" value="Oui">
</td>
<td align="center" class="my-data">
<p class="m8"></p>
<input class="button-red" type="button" id="request_payoff_no" value="Non">
</td>
</tr>
</tbody></table>
</form>
</div> |
EN gros, j'ai un bouton qui apparait, je clique dessus, on me demande si oui ou non je confirme l'action. Si oui je valide l'action.
Peut-on executer cette même action depuis la navigateur, c'est à dire sans appuyer le bouton ? exemple monadresse.fr/actionàfaire.php ?
Qu'en pensez-vous ?
Un grand merci de vos réponses :-)