Javascript code not working in LINUX Weblogic, works fine in UNIX box -
i have unique issue java script code works in unix(weblogic 10.3.2) not working after migrating linux (weblogic 12.2)
the code changes when check code using view source
function checkall(field) { alert(field.rowkeyvar); (var = 0; < field.length; i++){ field[i].checked = true ; } }
changes
function checkall(field) { alert(field.rowkeyvar); (i = 0; < field.length; i++){ field[i].checked = true ; } }
the error when click on button invoke javascript function :
syntaxerror: missing ) after for-loop control
any pointers on help.
it’s not clear process in place convert/migrate code, appears it’s converted <
<
. for-loop has third semicolon before reaching closing paren. error makes sense, , need fix migration process not html-escape code.
Comments
Post a Comment