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:setCursorPosition(1527,'HATSFORM') >test</a>
, which runs the javascript in the current url location, but when I
try window.open(javascript:setCursorPosition(1527,'HAT SFORM'), it
opens a new browser with the string
"javascript:setCursorPosition(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:setCursorPosition(1527,'HATSFORM')
target=_NEW>test</a> for the same reason that the relative url
location is not kept for the new browser.
Thanks in advance
Bill