[Javascript] Unknown runtime error

Nagendra Oleti ovsnk-reachme at yahoo.com
Wed Aug 20 00:01:48 CDT 2008


Hi 
The following sample throws "Unknown runtime error", any ideas to fix this?
<html>
<head>
<script>
function foo(){
            document.getElementById('aaa').innerHTML="<nobr>aaa</nobr>";
}
</script>
</head>
<body onload="foo();">
<nobr><div id='aaa' style='display:inline;'></div></nobr>
</body>
</html> 
thanks
Nagendra Oleti


More information about the Javascript mailing list