2. Add this line inside body tag just before body end tag as its Last child (use your file path)
<script src="../js/EaCaptcha.min.js"></script>
3. Finally, In your Javascript file create Local Object Instance of EA Captcha inside window load function (Instance should not be accessed globally), and call it whenever you want with your Function as Argument
const eac = new EaCaptcha();
$('button1').on('click', function() {
eac.init(function () {
your_1st_function(args);
// or your coding stuff
});
});
$('button2').on('click', function() {
eac.init(function () {
your_2nd_function(args);
// or your coding stuff
});
});
If You can bypass EA Captcha, Please Let us know. We will be grateful to you