Uncaught SyntaxError: Unexpected token ILLEGAL

calling the below function from html

displaySSHCmdResultDiv('12:21:08 up 4 days, 1:37, 3 users, load average: 0.44, 0.46, 0.44')

Throws me error "Uncaught SyntaxError: Unexpected token ILLEGAL " in chrome. can any one help me in identifying what the problem is .


根据你的代码函数,aruguments是6,并且用逗号分开,所以每个srting都有完整的单人床

displaySSHCmdResultDiv('12:21:08 up 4 days','1:37',' 3 users', 'load average: 0.44', '0.46', '0.44');
链接地址: http://www.djcxy.com/p/8022.html

上一篇: JSON.Parse,'未捕获的SyntaxError:意外的令牌o

下一篇: 未捕获的SyntaxError:意外的令牌非法