Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
In page1 there is an edit symbol(which have "news" and "image" as attributes like, news="news1" image="image1.jpg").when click on that symbol it takes us to the other page (in href i mentioned the page url).Now in this page2 i want to get those attributes.I tried as follows:but doesn't work

How can i get those values..?please help me.. Thanks in advance..

window.opener.document.getElementById("#someId");

window.parent
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900