gurumutant icon

JQuery - Pengenalan Selector, Action, Chaining

gurumutant | PRO | 11/24/20 02:09:53 AM UTC (Edited) | 0 ⭐ | 11622 👁️ | Never ⏰ | []
jQuery |

2.15 KB

|

None

|

0 👍

/

0 👎

<html>
    <head>
        <script src="lib/jquery-3.5.1.min.js"></script>
        <script type="text/javascript">
            $(function(){
                // menyembunyikan elemen h1
                // dengan jeda 3 detik
                // menggunakan tag selector
                $('h1').fadeOut(3000); 
                // mengeset atribut elemen dengan 
                // id nama menggunakan id selector
                $('#nama').attr('placeholder','Ketikkan nama Anda');
                // mengeset style css suatu elemen
                // menggunakan class selector
                $('.isian').css('background-color','powderblue');
                
                // contoh event click pada elemen dengan id tertentu
                $('#btnKlik').click(function(){
                    var nama = $('#nama').val(); // membuat variabel dan mengambil nilai
                    var hp = $('#hp').val();
                    // mengeset content paragraf dengan ID #hasil
                    $('#hasil').html('Nama Anda: '+nama+' Nomor HP Anda: '+hp);
                    $('#nama').val('');
                    $('#hp').val('');
                });
                // contoh event focusout pada elemen dengan id nama
                $('#nama').focusout(function(){
                    // jika mengguna keluar fokus dari isian nama
                    // tanpa memasukkan nama, berikan peringatan
                    if ($(this).val().trim() == '') {
                        // method/action chaining
                        $('#pesanNama').show().html('Anda lupa mengisikan nama<br>').css('color','red').fadeOut(3000);
                    }
                });
            });
        </script>
    </head>
    <body>
        <h1>Belajar JQuery itu Menyenangkan</h1>
        <label for="input1">Nama</label>
        <input class="isian" type="text" id="nama" name="nama"><br>
        <span id="pesanNama"></span>
        <label for="input1">Nomor HP</label>
        <input class="isian" placeholder="Ketikkan nomor HP Anda" type="text" id="hp" name="hp"><br>
        <button id="btnKlik">Klik</button>
        <p id="hasil"></p>
    </body>    
</html>

Comments

  • Mirhoron icon
    03/29/26 09:56:26 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

    |

    👍

    /

    👎