I am working on javascript and jquery. 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..?
I put that code in onload
and document.ready