What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-22 12:05:34
NUME +LINK
var x = document.querySelectorAll("a");var myarray = []for (var i=0; i<x.length; i++){var nametext = x[i].textContent;var cleantext = nametext.replace(/\s+/g, ' ').trim();var cleanlink = x[i].href;myarray.push([cleantext,cleanlink]);};functio... Add solution -
Javascript 2022-01-21 23:51:50
javascript open new window and pass data
// Store the return of the `open` command in a variable var newWindow = window.open('http://www.mydomain.com'); // Access it using its variable newWindow.my_childs_special_setting = "Hello World"; //In the child (popup) window, you could acces... Add solution -
CSS 2021-11-22 07:26:16
pop up animation css
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <button onclick = 'f=window.open("URL,exampe - google.com","fenetre","the style (wi... Add solution