A
Anna Quick
I am quite new to javascript, and don't seem to find the problem with
stupid internet explorer.
The script works fine in safari and mozilla.
I searched the groups, but evidently put in the wrong keywords, didn't
find the solution.
It seems to be as easy as it gets: open a new window with a new url.
in IE (I am using IE in mac osx), the error message is:
Microsoft JScript runtime error:
Line: 9
Char: 8
Error: Type mismatch
Thanks for any tips! I am getting crazy over this!
q.
here are the scripts:
test.js:
function launchDisplay(mydata) {
datasetWindow=window.open("describe_data.cgi" + mydata, " ",
"width=500,height=200,scrollbars=yes, resizable=yes")
}
test.html:
<head><title>Untitled Document</title>
<script language="JavaScript" src="test.js"
type="text/javascript"></script>
</head><body><a HREF="#" onClick="launchDisplay('?dataset=mydataset');
return false;">Display Properties of selected Dataset</a>
<br />
</body>
</html>
stupid internet explorer.
The script works fine in safari and mozilla.
I searched the groups, but evidently put in the wrong keywords, didn't
find the solution.
It seems to be as easy as it gets: open a new window with a new url.
in IE (I am using IE in mac osx), the error message is:
Microsoft JScript runtime error:
Line: 9
Char: 8
Error: Type mismatch
Thanks for any tips! I am getting crazy over this!
q.
here are the scripts:
test.js:
function launchDisplay(mydata) {
datasetWindow=window.open("describe_data.cgi" + mydata, " ",
"width=500,height=200,scrollbars=yes, resizable=yes")
}
test.html:
<head><title>Untitled Document</title>
<script language="JavaScript" src="test.js"
type="text/javascript"></script>
</head><body><a HREF="#" onClick="launchDisplay('?dataset=mydataset');
return false;">Display Properties of selected Dataset</a>
<br />
</body>
</html>