gaptrast
Member
- Messages
- 123
- Reaction score
- 0
- Points
- 16
Hello,
I have a small problem; it will not work!!!
heres my code:::
When I click at the image nothing is happening... I should have been be redirected to http://www.example.com/valum.php?koke , but nothing is happening!!!!
I have a small problem; it will not work!!!
heres my code:::
Code:
<head>
<script type="text/javascript">
function download() {
var base_url="http://www.example.com/valum.php?";
var qs="koke";
var dl = document.getElementById( "dl" ) ;
var total = "window.location='" + base_url + "'";
dl.onclick = total;
}
</script>
</head>
<body>
<img id="dl" onclick="download();" src="kokkelimonke.jpg" />
</body>
When I click at the image nothing is happening... I should have been be redirected to http://www.example.com/valum.php?koke , but nothing is happening!!!!