User aed4f53879
27-09-2011 18:14:30
The html below works fine in netscape but gives this error in IE8 immediately but "Click Me" works OK
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Tue, 27 Sep 2011 18:07:37 UTC
Message: Object doesn't support this property or method
Line: 9
Char: 3
Code: 0
URI: file:///C:/Documents%20and%20Settings/tj.ROADBEAR/Desktop/x.html
-------------
<html>
<head>
<title>Template Editor</title>
<script LANGUAGE="JavaScript1.1" SRC="http://www.chemaxon.com/marvin/marvin.js"></script>
<script>
function atest(element) {
var medit=document.getElementById(element);
medit.setMol("C1CCNC1O");
}
</script>
</head>
<body>
<script language='JavaScript'>
phenol = 'c1ccccc1O';
msketch_name = 'MrvMOLFILE';
msketch_begin("http://www.chemaxon.com/marvin/", 500, 500);
msketch_param("autoscale", "true" );
msketch_param("mol", phenol);
msketch_end();
atest('MrvMOLFILE');
</script>
<a href="javascript:atest('MrvMOLFILE')">Click me</A>
</body>
</html>