Unterminated Regular Expression Literal Error

alex1020

New Member
I encountered a Javascript error while parsing an XML file. My code looks like this:\[code\]var det = eval( "(" + xmlhttp.responseText + ")");\[/code\]the returned xml file for this code would be : \[code\]<?xml version="1.0" encoding="UTF-8" standalone="yes"?><accountss><accounts>`<password>1234</password><userid>arjel</userid></accounts></accountss>\[/code\]I have an unterminated regular expression literal error when executing this code. What could be the problem ?
 
Back
Top