What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-27 19:31:04
nice-select
$(document).ready(function() { $('select').niceSelect(); }); Add solution -
Javascript 2021-09-27 09:33:02
jquery on form submit call function
$(document).ready(function() { $("your form selector here").submit(function() { // do the extra stuff here $.ajax({ type: "POST", url: "mail.php", data: $(this).serialize(), success: functio... Add solution -
Javascript 2021-09-18 19:04:02
jquery select plugin
//place css in head <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/select2.min.css" rel="stylesheet" /> //Place it before closing body tag above the below code <script src="https://code.jquery.c... Add solution -
Html 2021-09-18 06:20:02
jquery disable radio button command
$(document).ready(function() { // By Default Disable radio button $(".second").attr('disabled', true); $(".wrap").css('opacity', '.2'); // This line is used to lightly hide label for disable radio buttons. // Disable radio butt... Add solution -
Other 2021-09-16 14:45:02
How to display his result while typing in a field
$(document).ready(function() { $('#name').on('keypress', function(key) { if((key.charCode < 97 || key.charCode > 122) && (key.charCode < 65 || key.charCode > 90) && (key.charCode != 45)) { return false; } }); $('#pho... Add solution