Thanks swapnl. I followed the link, but facing an issue while testing sample code. Below is the code I am testing with javascript enabled
<html>
<head>
<script language="javascript" type="text/javascript">
document.getElementById("jseblock1").style.display="block";
</script>
</head>
<div id="jseblock1" style="display: none">
This is the block with javascript enabled.
</div>
</html>
The issue is, statement document.getElementById("jseblock1").style.display="block"; is not getting called even if javascript is enabled. Am I doing anything wrong here? Please help.
Thanks,
Ram Charan