Friday 31 August 2012

document.getElementById | color | value | javascript code






<script>
function tumsathhomere()
{
document.getElementById('txt1').value="tum";
document.getElementById('txt1').style.color="sath";
document.getElementById('txt2').value="ho";
document.getElementById('txt2').style.color="mere";

}
</script>
<body>
<input type="text" id="txt1">
<input type="text" id="txt2">
<input type="button" value="javascript output" onclick="tumsathhomere()">
</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: