[Solved] Split a variable in javascript getting Uncaught SyntaxError: Unexpected token ILLEGAL


Problem is you are having \n newLine entries in your data try to get in this format.

var data="http:\\14.147.140.93:8080\......\json={"location": "122121212","screen": "4545458","identification": "ddddd"}";

1

solved Split a variable in javascript getting Uncaught SyntaxError: Unexpected token ILLEGAL