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; &lt; 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 < &lt;. for-loop has third semicolon before reaching closing paren. error makes sense, , need fix migration process not html-escape code.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -