button script test

In this example below you will see how to do a button script test with some HTML / CSS and Javascript

This awesome code was written by d3QUone, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright d3QUone ©
  • HTML
<!DOCTYPE html>
<html lang="en" >

  <meta charset="UTF-8">
  <title>button script test</title>


  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    function ggo()
      var newWin = window.open("http://bash.im", "Bash"); 

    <form method="get" action="http://w.qiwi.com/order/external/create.action">
    <h4> Счет на 1500 руб. к оплате:</h4>
    <input class="form-wrap" maxlength="20" name="to" type="text" placeholder="Впишите Ваш телефон"><br><br>
    <input type="hidden" name="summ" value="1500">  <!--получить сумму из прошлой страницы-->
    <input type="hidden" name="from" value="253302">
    <input type="hidden" name="currency" value="RUB">
    <input type="hidden" name="successUrl" value="http://lens-zen.ru/psuccess.html">
    <input type="hidden" name="failUrl" value="http://lens-zen.ru/pfail.html">    
    <button class="feedback send_rew2" name="send" type="submit" onclick="ggo()">Оплатить</button> IT FUCKING WORKS!!!<br>
    <a href="http://ishopnew.qiwi.ru/files/qiwi_instruction.html" target="_blank" align="left"> Инструкция по оплате через QIWI Кошелек</a>