Yesterday, when using the jquery Ui datapicker to display the Check-in calendar feature, there was a JS problem, in IE8/IE9 and FF, Chrome under the show Normal,
However, there is a problem in the IE6/IE7 and IE8 compatibility View, prompting "there is an error on the page", and further viewing the error message "Missing identifier, string, or number" is displayed.
Initially thought to be the result of a mismatch between the jquery and jquery UI versions, and later tried other supported versions,
And then your own JS code paragraph by section mode, after spending two hours after the discovery is finally by the JSON last key value added comma caused the problem.
Check on the Internet, and found that a lot of people have encountered this problem. Be careful in the future.
Copy Code code as follows:
var obj = {
' Name ': ' Qqyumidi ',
' Gender ': ' Male '//here can't add,!!
}
alert (obj.name);
is really the evil ie6/ie7, when can farewell specially for IE do hack day ... Can't help but spit out Microsoft