Jun 15, 2008 #1 tektippee IS-IT--Management Jun 15, 2008 6 US How do I pass parameters from javascript to a new page without using the anchor link? Can I use it using "self.location"?
How do I pass parameters from javascript to a new page without using the anchor link? Can I use it using "self.location"?
Jun 16, 2008 #2 1DMF Programmer Jan 18, 2005 8,795 GB If the page you are opening is on the same domain you can talk to it via its window name that you opned it with. If it is on a different domain there is no way the javascript will allow you to talk to the variables due to 'Cross Domain security' It's not clear if you are opening another window or going to a new page in the same window, whether they are on the same domain etc.. If you don't supply all the info and what code you currently have, it's a bit difficult to give you the help you need. "In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you." "If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way! Upvote 0 Downvote
If the page you are opening is on the same domain you can talk to it via its window name that you opned it with. If it is on a different domain there is no way the javascript will allow you to talk to the variables due to 'Cross Domain security' It's not clear if you are opening another window or going to a new page in the same window, whether they are on the same domain etc.. If you don't supply all the info and what code you currently have, it's a bit difficult to give you the help you need. "In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you." "If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!