Thursday, November 19, 2009

How to call function name when we click on the button?

13. < script type = " text / javascript " >
function test ()
{
alert( " Welcome To Sun-Javascript.blogspot.com ! " ) ;
}
< / script >

< input type="button" value="Click me!" onclick="test()" / >

No comments:

Post a Comment