Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 139805

Page is getting Submit Without Refresh Via Otp?

$
0
0

I got this website when I fill the information and try to send the OTP page reload Here's the website:

https://tunisia.blsspainvisa.com/english/book_appointment.php

After you fill the information and click on (Request verification code) and you will know what I mean

What I tried is:

$(function () {

  $('#tunisiaThird').on('submit', function (e) {

    e.preventDefault();

    $.ajax({
            type: 'post',

        url: 'https://tunisia.blsspainvisa.com/book_appointment.php',

        data: $('#tunisiaThird').serialize(),



            success: function () {
      }
    });

  });
});

I'm only a client, so I'm using Tampermonkey to inject.


Viewing all articles
Browse latest Browse all 139805

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>