Click to See Complete Forum and Search --> : href not working in expl 6


jitseschaafsma
04-10-2003, 01:38 AM
I have build some pages with javascript. They are working well on mac OS 9.2 Explorer 5 and windows NT. However, windows XP explorer 6 is given a problem.
I have this code attached to a button:
window.document.location.href="http://10.0.1.4/FMPro?-DB=webexpert&-lay=L2&-Format=M1.htm&-RecID=[FMP-CurrentToken:0]&-Edit"

As said, this code works okay in a number of browsers, but not in explorer 6 (XP).

Does anyone have any suggestions.
Thanks
Jitse

SniperX
04-10-2003, 03:40 AM
use a <a> tag -
e.g. <a href=http://10.0.1.4/FMPro?-DB=webexpert&-lay=L2&-Format=M1.htm&-RecID=[FMP-CurrentToken:0]&-Edit" onClick="window.open(href">BUTTON</a>

It might help
I dont really know,

dont know if thats what you're looking for?

Hope it helps
Regards MW:D:D :D :p

jitseschaafsma
04-10-2003, 03:53 AM
Thanks for your suggestion.
Indeed i am using that construction in my pages.
However, in this case i need a JS function attached to a button.
Somehow explorer has some problems with it.
So i am looking for a wroking around.
Thanks
Jitse