Monthly archive for November 2011

How to change background color in Javascript through function?

November 2, 2011 | Filed Under JavaScript | Leave a Comment

Example:
Code:

<html>
<head>
<script type="text/javascript">
function changecolor(color_code)
{
document.bgColor=color_code;
}
</script>
</head>
<body>





</body>
</html>
Article written by admin

© PHPInterviewQuestion.com 2009 - 2012

eXTReMe Tracker