Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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 access a parent variable like this:
window.opener.my_parents_special_setting
Comment

PREVIOUS NEXT
Code Example
Javascript :: react canvas clear 
Javascript :: if statement es6 
Javascript :: javascript object array merge 
Javascript :: jquery enable disable textbox 
Javascript :: react next alias import 
Javascript :: javascript add css file 
Javascript :: dummy json data 
Javascript :: json parse array local storage 
Javascript :: html canvas draw base64 image 
Javascript :: File is a CommonJS; it may be converted to an ES6 module 
Javascript :: how to send array in query string in javascript 
Javascript :: javascript get first character of string 
Javascript :: jquery uncheck all other checkboxes when one is checked 
Javascript :: image not showing js 
Javascript :: discord.js bot 
Javascript :: js sleep 1 second 
Javascript :: jquery ajax while loading 
Javascript :: get nearby store by latitude and longitude from my latitude and long node js 
Javascript :: replace all dashes to slashes using jquery in a string 
Javascript :: form submit programmatically 
Javascript :: js first letter capital 
Javascript :: javascript empty cache and hard reload 
Javascript :: get total height of page javascript 
Javascript :: selecionar valselect2 js 
Javascript :: inarray jquery 
Javascript :: simulate click jest 
Javascript :: add id to html element javascript 
Javascript :: how to return 5 records instead of 10 records in datatable 
Javascript :: toggle class in javascript 
Javascript :: guid generator node 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =