S
sisqorap
Hi all,
I have a problem with a dynamic made onclick and I'm trying to figure
it out with a little page but I can't get it to work in IE7. Can
somebody help me out?
This is the code:
<html>
<head>
<script language="Javascript" type="text/javascript">
function Loading(){
document.getElementById('hallo').setAttribute("onClick","window.open('http://
www.google.be')");
}
</script>
</head>
<body onLoad='javascript:Loading();'>
<div id='hallo'>HAAALLOOO</div>
</body>
</html>
Greetz
I have a problem with a dynamic made onclick and I'm trying to figure
it out with a little page but I can't get it to work in IE7. Can
somebody help me out?
This is the code:
<html>
<head>
<script language="Javascript" type="text/javascript">
function Loading(){
document.getElementById('hallo').setAttribute("onClick","window.open('http://
www.google.be')");
}
</script>
</head>
<body onLoad='javascript:Loading();'>
<div id='hallo'>HAAALLOOO</div>
</body>
</html>
Greetz