Menu
Hi,
I have to get the value of var ‘y’ into test.html page from main page..so while click on button I have written the,
fun get(){
var y=4;
window.open (“test.html?GETST=”+y,”STModel”);
}
In test.html:
var sample=document.getElementById(“GETST”);
alert(“sam”+sample);
but In alert it’s not displaying the value ‘4’ it’s displaying null..help me out..what I have to add in test.html page?
Thanks a lot…