I need to set the HTML < base href= ...> tag programmatically in IE 6 from javascript.
I tried the following code but this causes syntax error.
How to construct < base href= ... > attribute from location.protocol and
location.host ?
< head >
< base href="javascript:location.protocol+'//'+location.host+
'/mycgi.exe/'" >
< /head >
Andrus