I have a webpage that opens two windows.
<p><a href="window1.htm" target="Window1Name">Windo
<p><a href="window2.htm" target="Window2Name">Windo
Window1.htm has many links and some text on it.
1. Capture the current URL of browser window "window1name" and paste it into a textbox called "URL" on window2.htm
2. Copy and paste any selected text in "window1name" and paste it into a textarea called "SelectedText" on window2.htm
Can anyone help me with this?
PS2: Needless to say, I am willing to give more points if someone would give me a very comprehensive solution.