Hi Guys,

Javascript code need to enter into {literal} tag.

{literal}
javascript code
{/literal}

Thanks.