Dear Friend ,
see the site getelementbyid.com and you will get the solution
regards,
bvsureshbabu
I am giving an example as follows
in which i am sending the fontsize from a html file through get method
<html><head>
<style type="text/css">
#lyr { font-size:52px;}
</style>
</head>
<script language=javascript>
function ChangeFontFamily(id,size)
{
document.getElementById(id).style.fontSize = size + "px";
}
</script>
<?
echo"<body onLoad=ChangeFontFamily('lyr','$mycode')> ";
?>
<p Id=lyr> hai suresh</p>
</body>