script type text javascript jQuery wmPayment bind submit function aler

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
<script type="text/javascript">
jQuery('wmPayment').bind('submit' , function() {
alert('ASD');
} );
</script>
<form action="https://merchant.webmoney.ru/lmi/payment.asp" method="POST" name="wmPayment" id="wmPayment" >
<input type="hidden" name="LMI_PAYEE_PURSE" value="Z" />
<input type="hidden" name="LMI_PAYMENT_NO" value="58" />
<input type="hidden" name="LMI_PAYMENT_AMOUNT" value="" />
<input type="hidden" name="LMI_PAYMENT_DESC" value="" /> Пополнение счета в системе Download Center<br />
<input type="input" name="cost" value="5" />
<input type="submit" value="Пополнить" id="submitPayment" name="submitPayment"/>
</form>