how to calling a button
how to calling a button using onclick method.
sample program:
how to calling a button using onclick method.
sample program:
<html>
<head>
<script>
function controls()
{
alert("control");
}
</script>
</head>
<body>
<button name="button" onclick="controls();">click</button>
</body>
</html>
<head>
<script>
function controls()
{
alert("control");
}
</script>
</head>
<body>
<button name="button" onclick="controls();">click</button>
</body>
</html>
No comments:
Post a Comment