jquery submit function that does not work

My jQuery function does not work and I do not know where the problem comes from here is my code: $(document).ready(function(){ console.log(“document prêt !!!”); $(“#f”).on(“submit”,function(e){ recuperer_valeur_reservation(); console.log(‘submit f1…’); }); }); The message from my console.log is not displayed in the browser, just the first console that appears as you can see here: message console here…

JQuery Noty with Codeigniter

I’m trying to get a notification using JQuery, Noty in my CodeIgniter Project. I Used the following Script Code <script type=”text/javascript”> $(document).ready(function() { <?php if (!empty($noti)) { foreach ($noti as $ns) { $date = new DateTime($ns->increment_date); } } ?> noty({text: ‘The Increment Date of’, layout: ‘center’, closeWith: [‘click’, ‘hover’], type: ‘success’}); }); </script> Model <?php…

Why is a form’s onsubmit function only called once?

Pretty much what it says on the tin. This snippet demonstrates the problem: function check(e) { console.log($(‘input[name=”myinput”]’).val()); if ($(‘input[name=”myinput”]’).val() == “123”) { return true; } else { $(‘input[name=”myinput”]’)[0].setCustomValidity(“Invalid”); return false; } } <script src=”https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js”></script> <div> <form onsubmit=”return check()”> <input name=”myinput”> <input type=”submit”> </form> </div> When the form loads, enter 1 into the input field and…

how to manage input tags using bootstrap

the add more btn in jQuery input is going random, I just want it in sequence ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, current output: I want this output: $(document).ready(function() { var getText = function(opt) {}; var temp = $(“#hidDays”).val(); //Add More Groups $(“#main-wrapper”).on(“click”, “.addGroupBtn”, function() { console.log(“fsdfa”); var template = $(“#timeGroupTemplate”); var btnTemplate = $(“<div/>”).append($(“#btnTemplate”).html()); var div = $(“<div/>”).append(template.html()); btnTemplate.find(“.addGroupBtn”).remove();…

How to set visibility:hidden then visibility:visible in a CSS animation?

Edit 2: Thanks Gineto for the idea! Made some changes (see below): .logos2{ position: relative; float: right; height:100%; right:75px; visibility:hidden; opacity:0; animation: move 1s; animation-play-state:paused; border: 1px solid #000; } and in jQuery: jQuery(document).ready(function(){ jQuery(“.logos”).animate({height: +800}, 500); jQuery(“.logos”).promise().done(function(){ jQuery(“.logos2”).css({“animation-play-state”:”running”, “visibility”:”visible”, “opacity”:”1″}); }); }); Edit: Have come somewhat close by changing jQuery: jQuery(document).ready(function(){ jQuery(“.logos”).animate({height: +800}, 500);…