IE8 JS Error: Expected identifier, string or number (including fix)
-
This error appears at: (line 117, char 23)
return $( ‘<p/>’, { class: _class.join( ‘ ‘ ) } ).text( message );
The reason is that “class” is a reserved word. The fix is to put ‘class’ (with ‘):
return $( ‘<p/>’, { ‘class’ : _class.join( ‘ ‘ ) } ).text( message );
- The topic ‘IE8 JS Error: Expected identifier, string or number (including fix)’ is closed to new replies.