Steps to Reproduce Behavior
Save the following HTML page and encode it using the script encoder:
<HTML>
<HEAD>
<SCRIPT>
<!--
//**Start Encode**
function btnclick()
{
alert("hello world!");
}
-->
</SCRIPT>
<STYLE>
<!--
input#{background-color:darkorange}
-->
</STYLE>
</HEAD>
<BODY>
<INPUT TYPE="button" VALUE="click me" ONCLICK="btnclick()">
</BODY>
</HTML><BR/>
Your HTML page should display as follows:
<HTML>
<HEAD>
<SCRIPT language = JScript.Encode>
<!--
//**Start Encode**#@~^TAAAAA==@#@&0; mDkW P(Ox1Vrm0`b@#@&
@#@&~P,PPmsnDD`rtnVsG,hGD^["r#I@#@&8@#@&R @*@#@&QBEAAA==^#~@</SCRIPT>
<STYLE>
<!--
input#{background-color:darkorange}
-->
</STYLE>
</HEAD>
<BODY>
<INPUT TYPE="button" VALUE="click me" ONCLICK="btnclick()">
</BODY>
</HTML>
However, the encoded page does not display anything.