Hi,
I am trying to launch a new browser with the same url location as the
current browser, and at the same time run some javascript.
This works with <a href=javascript :setCursorPosit ion(1527,'HATSF ORM')>test</a>
, which runs the javascript in the current url location, but when I
try window.open(jav ascript:setCurs orPosition(1527 ,'HATSFORM'), it
opens a new browser with the string
"javascript:set CursorPosition( 1527,'HATSFORM' )" in the url location of
the browser, which obviously fails.
So I need the window.open to open up a new browser with the same
relative url and then execute the javascript string. Any ideas?
BTW, this also fails when I try <a
href=javascript :setCursorPosit ion(1527,'HATSF ORM')
target=_NEW>tes t</a> for the same reason that the relative url
location is not kept for the new browser.
Thanks in advance
Bill