What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-02 23:11:40
loadsh debounce
// Avoid costly calculations while the window size is in flux.jQuery(window).on('resize', _.debounce(calculateLayout, 150)); // Invoke `sendMail` when clicked, debou... Add solution -
Other 2022-02-02 22:55:57
kendo ui core
<link href="http://kendo.cdn.telerik.com/2014.2.716/styles/kendo.common.min.css" rel="stylesheet" /> <link href="http://kendo.cdn.telerik.com/2014.2.716/styles/kendo.default.min.css" rel="stylesheet" /> ... Add solution -
Javascript 2022-02-02 20:50:14
how to convert div to image in jquery
<html><head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html... Add solution -
-
C# 2022-02-02 13:46:32
the hamburger button for table operation dropdown
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script ... Add solution -
Javascript 2022-02-01 06:25:26
jquery ajax responseText
// To get jquery AJAX calls working // remember to add Jquery to your head tag: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> var response = null; var responseTextValue = null; $.ajax({ ... Add solution -
Javascript 2022-02-01 04:21:44
refresh page after 10 mins of inactivity
If you want to refresh the page if there is no activity then you need to figure out how to define activity. Let's say we refresh the page every minute unless someone presses a key or moves the mouse. This uses jQuery for event binding: <script> ... Add solution