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(m ydata) {
datasetWindow=w indow.open("des cribe_data.cgi" + mydata, " ",
"width=500,heig ht=200,scrollba rs=yes, resizable=yes")
}
test.html:
<head><title>Un titled Document</title>
<script language="JavaS cript" src="test.js"
type="text/javascript"></script>
</head><body><a HREF="#" onClick="launch Display('?datas et=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(m ydata) {
datasetWindow=w indow.open("des cribe_data.cgi" + mydata, " ",
"width=500,heig ht=200,scrollba rs=yes, resizable=yes")
}
test.html:
<head><title>Un titled Document</title>
<script language="JavaS cript" src="test.js"
type="text/javascript"></script>
</head><body><a HREF="#" onClick="launch Display('?datas et=mydataset');
return false;">Display Properties of selected Dataset</a>
<br />
</body>
</html>
Comment