What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-28 02:59:03
show navbar on specific div
$(document).ready(function(){ $(".navbar").hide(); //Hide the navigation bar first $(window).scroll(function () { //Listen for the window's scroll event if (isScrolledAfterElement("#content")) { //if it has scrolled be... 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-25 19:03:02
add on click to div using jquery
$(document).ready( function() { $("#viewclick").click( function() { // this will fire when you click view }); $("#editclick").click( function() { // this will fire when you click edit // hide the view button here and... Add solution -
Html 2021-09-23 00:13:04
preload html
$(window).on('load', function() { // makes sure the whole site is loaded $('#status').fadeOut(); // will first fade out the loading animation $('#preloader').delay(350).fadeOut('slow'); // will fade out the white DIV that covers the website. $('b... Add solution