function SvrDropdown(list) { // alert(list.options[list.selectedIndex].value); lcUsername = document.getElementById("username").value; location.href = '/go.hcn?hcnmgt~OLRManualTrans~' + lcUsername + '~' + list.options[list.selectedIndex].value; } function AcctDropdown(list) { // alert(list.options[list.selectedIndex].value); lcUsername = document.getElementById("username").value; lcServer = document.getElementById("Server").value; location.href = '/go.hcn?hcnmgt~OLRManualTrans~' + lcUsername + '~' + lcServer + '~' + list.options[list.selectedIndex].value; } function ChkChange(control) { // alert("in Javascript"); lcUsername = document.getElementById("username").value; lcacctid = document.getElementById("AccountID").value; lcServer = document.getElementById("Server").value; if (control.checked) { location.href = '/go.hcn?hcnmgt~OLRManualTrans~' + lcUsername + '~' + lcServer +'~' + lcacctid + '~' + control.name; // alert(location.href); } } $("#CustomCode").hide(); $("#CustCode").hide(); $(function RewardOnChange(control) { if ($('#RwrdCode').val()) = 'custom' *-----------here {$("#CustomCode").fadeIn(); $("#CustCode").fadeIn(); } })When I initially go into the page I get a script1002: Syntax error on the line marked with the '*-------here". How cosmically off is that syntax?