Friday 31 August 2012

javascript code with alert | eval | function

How to implement eval in javascript.









<script>
function fun1()
{
x="100*4+50"
alert(eval(x))
}
</script>
<body>
<input type="button" value="lets get it on" onclick="fun1()">
</body>
Share This
Previous Post
Next Post

FYJC XI standard online admisson Process and declaraton of Merit list . Cut off List For prevous year also . 10 Th Results onlne declaraton Maharashtra Region .

0 comments: