Example:
Code:
<html>
<head>
<script type="text/javascript">
function changecolor(color_code)
{
document.bgColor=color_code;
}
</script>
</head>
<body>
</body>
</html>
Example:
Code:
<html>
<head>
<script type="text/javascript">
function changecolor(color_code)
{
document.bgColor=color_code;
}
</script>
</head>
<body>
</body>
</html>
© PHPInterviewQuestion.com 2009 - 2012