What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-27 17:05:05
image popup js close button
$('.menu').mouseover(function(e) { console.log(e); var href = $(this).attr('href'); var popup = $('<div id="myPopup"></div>'); var image = $('<img id="image" src="' + href + '"/>'); popu... Add solution -
Java 2022-03-23 05:55:02
java queue
import java.util.*; Queue<Integer> queue = new LinkedList<Integer>(); // use non-primative types when constructing // to add a value to the back of queue: queue.add(7); // to remove and return front value: int next = queue.remove(); // to ... Add solution -
Javascript 2022-03-17 22:55:12
remove row from table with XMLHttpRequest()
$(document).ready(function(){ // Delete $('.delete').click(function(){ var el = this; var id = this.id; var splitid = id.split("_"); // Delete id var deleteid = splitid[1]; // AJAX Request $.ajax({ url: 'remove.p... Add solution -
Javascript 2022-03-16 13:25:07
Js remove
var div = document.getElementById('div-01'); div.remove(); Add solution -
PHP 2022-03-13 03:45:07
php page loader script
$('body').append('<div style="" id="loadingDiv"><div class="loader">Loading...</div></div>'); $(window).on('load', function(){ setTimeout(removeLoader, 2000); //wait for page load PLUS two secon... Add solution -
Other 2022-03-05 12:20:02
copy clipboard with span
document.getElementById("cp_btn").addEventListener("click", copy_password); function copy_password() { var copyText = document.getElementById("pwd_spn"); var textArea = document.createElement("textarea"); ... Add solution -
PHP 2022-02-15 17:25:16
PHP Stream Functions
The Stream functions are part of the PHP core. There is no installation needed to use these functions. set_socket_blocking() Deprecated in PHP 5.4, and removed in PHP 7.0. Alias of stream_set_blocking() stream_bucket_prepend() stream_context_create()... Add solution -
Javascript 2022-02-08 06:50:07
d3 force simulation
var width = 600, height = 400; var colorScale = ['orange', 'lightblue', '#B19CD9']; var xCenter = [100, 300, 500] var numNodes = 100; var nodes = d3.range(numNodes).map(function(d, i) { return { radius: Math.random() * 25, category: i % 3 ... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5