In HTML\Jscript gadgets jscript code work well. But this is not a case in posts.
For example I added this code to my blogspot post and it didn't working.
<a onclick=javascript:showMessage() href="#" >Test</a>
<script language="JavaScript">
function showMessage()
{
alert("Is working in post?");
}
</script>
So this javascript code was inserted in blogspot post (another method is .....
rest article go to this original page