Wednesday, 23 October 2013

Simple Function javascript

Hi  I am New to blogging .....
here is a new function ..
<script type="text/javascript">
function hello(id)
{
 alert("id");
}
</script>

<div>
<input type="button" id="xyz" name="xyz" onclick="hello(this.name)">
</div>

No comments:

Post a Comment