Object Methods (Math object:- sqrt() ) javascript code ...

Object Methods (Math object:- sqrt() ) javascript code  ...




<html>
<head>
<script language="javascript">
function xyz()
{
alert (Math.sqrt(9));
}
</script>
</head>


<body>
<form >
<input type="button" onclick="xyz()" value="TEST"></input>
</form>
</body>
</html>

Output:- 3

Note:-For more coding of javascript see my 

Lebls-- 

" O Leve M1-R5 HTML " 

No comments:

Post a Comment