Jump to content

User:Amit6/6.js

From Wikipedia, the free encyclopedia
(Redirected from User:Myrecovery/6.js)
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
<title>Javascript Buttons1</title>
<script type="text/javascript">
function disp_alert2()
{
alert("I am an alert box 2");
}
</script>
<input type="button" onMouseDown="disp_alert2()" value="Display alert box 2" title="Click here to display alert box 2" style="background-color:#FFFF00;border:1px solid #808000;width:200px" />