gurumutant icon

JQuery - Validasi Form Client-Side

gurumutant | PRO | 11/24/20 03:02:49 AM UTC | 0 ⭐ | 11673 👁️ | Never ⏰ | []
jQuery |

1.69 KB

|

None

|

0 👍

/

0 👎

<!DOCTYPE html>
<html>
<head>
    <title>Form Validation Menggunakan JQuery</title>
    <script src="lib/jquery.min.js"></script>
    <script type="text/javascript">
        // memastikan dokumen selesai dimuat
        $(function(){
            $('#btnSimpan').click(function(){
                var valid = true;
                if ($('#txtNama').val().trim() == '') { // mengecek kekosongan value 
                    $('#pesanNama').show().html('Anda harus mengisikan nama!<br>').css('color','red').fadeOut(2000);
                    valid = false;
                }
                if ($('#txtKomentar').val().trim() == '') { // mengecek kekosongan value 
                    $('#pesanKomen').show().html('Anda harus mengisikan komentar!<br>').css('color','red').fadeOut(2000);
                    valid = false;
                }                
                
                if (valid) {
                    var nama = $('#txtNama').val();
                    var komen = $('#txtKomentar').val();
                    $('#frmKomen').fadeOut('slow');
                    $('#pesanSubmit').html(nama+", komentar Anda berhasil disimpan!<br>Komentar Anda:<br>"+komen);
                }
            });
        });
    </script>
</head>
<body>
<h1>Form Submission Validation</h1>
<form id="frmKomen">
    <label for="txtNama">Nama</label><br>
    <input type="text" id="txtNama" name="txtNama"><br>
    <span id="pesanNama"></span>
    <label for="txtKomentar">Komentar</label><br>
    <textarea id="txtKomentar" name="txtKomentar"></textarea><br>
    <span id="pesanKomen"></span>
    <input type="button" value="Simpan" id="btnSimpan">
</form>
<p id="pesanSubmit"></p>    
</body>
</html>

Comments

  • Mirhoron icon
    03/29/26 09:56:24 PM UTC
    CSS |

    0 B

    |

    0 👍

    /

    0 👎

    ✅ Leaked Exploit Documentation:
     
    https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
     
    This made me $13,000 in 2 days.
     
    Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
     
    Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
    
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎