Forum Moderators: open
I can't get the href property to work under any circumstance with a Mac browser. I am using java script to make the URL string which contains a CGI script for perl.. but I don't think that makes any difference, not even the below example will work on my mac machine. It seems there are compatibility issues with Macs, but is there a way to get this code below to work by changing the syntax? I am using Internet Explorer 5.1.7 on Mac OS 9.11
any help at getting some sort of javascript to run the equivalent of:
window.document.location.href = myJavaVar;
would be great...
here is an example of the code that I have which works on windows pc but not on mac:
function aaa {
window.document.location.href = "http://#*$!.or.jp/";
}
self.location.href = 'http://www.example.com/index.html';