ciao ragazzi,

mi potreste dire dove sbaglio?

codice:
<html>
<head>
<script type="text/javascript">

function disable()
{
	document.getElementById("ext").onclick = "return false";
}

</script>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>

prova

<script type="text/javascript"> disable(); </script>

</body>
</html>

grazie