javascript - Invalid Escape Sequence cannot figure out the use of the escape character -


this syntax:

executejscommand("location.href='statusdetails.php?chld=1\&jnum=1024&jtitle=';"); 

gives error:

invalid escape sequence

executejscommand("location.href='statusdetails.php?chld=1\\&jnum=1024&jtitle=';"); 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -