Return to Snippet

Revision: 61435
at December 12, 2012 20:47 by laxman2021


Initial Code
<html>
<head>
<script type="text/javascript">
function showAlert() {
    var name = "Roseindia";
    var city = "Delhi";
    alert(name +" is in "+ city);
}
</script>
</head>



<body>
<input type="button" value="Click for Alert" onClick="showAlert();">
</body>
</html>

Initial URL

                                

Initial Description
message alert, javascript alert

Initial Title
Alert using JavaScript

Initial Tags
javascript

Initial Language
PHP