Posts tagged ‘javascript’

February 1, 2011

With or without button. Javascript Programming code


<html>
<body>

<input type=’button’ disabled=’disabled’ id=’javascr’ onclick=’alert(“Javascript enabled”)’ value=’Javascript’ />

<script type=”text/javascript”><!–

document.getElementById(“javascr”).disabled=false;

//–></script>

</body>
</html>

Advertisements