2012年9月4日 星期二

Chrome error: Uncaught Syntax Error: Unexpected Token ILLEGAL

A html is working fine on IE, but can't work in Chrome and firefox.

Using console shows Chrome Uncaught Syntax ErrorUnexpected Token ILLEGAL.

Solution: check whether the format of html is UTF-8 or not. Save as UTF-8 format should be fixed.