Friday 31 August 2012

document.getElementById in javascript example with source code


javascript simple programs with concatenation
Enter First Number :
Enter First Number :



<script>
function javascriptclick()
{
x=document.getElementById('txt1').value;
y=document.getElementById('txt2').value;
alert(x+y)
}
</script>
<body>
Enter First Number :<input type="text" id="txt1">
Enter Second  Number :<input type="text" id="txt2">
<input type="button" value="click" onclick="javascriptclick()">
</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: