javascript - get variables from parent window to child window -


i opening new window using window.open() clicking on button.i create 4 variables in new window page named name1,name2,name3,name4

i have following code

  var updatebrowser =     window.open("url",,"scrollbars=yes,height=600,width=700,left=200,top=200");  updatebrowser.name1= value1; updatebrowser.name2= value2; updatebrowser.name3= value3; updatebrowser.name4= value4; 

first when click on button can able values(for name1 value value1 , name2 value value2....).it ok me.then closed child window , did same working me.but if click button out closing window values coming undefined.

i unable solve problem.thanks in advance...


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -