这个结束括号是怎么出乎意料的?
function pollCreateOptions_addOption ()
{ // Opening of curly bracket 1
var highestN = 0;
$('table#options tr td fieldset').each
( // Opening of normal bracket 1
function (i, option)
{ // Opening of curly bracket 2
alert (this.attr ('name'));
{ // Closing of curly bracket 2
); // Closing of normal bracket 1
} // Closing of curly bracket 1
最佳答案
$('table#options tr td fieldset').each
(
function (i, option)
{
alert (this.attr ('name'));
} // not {
);
关于javascript - chromet控制台上的`Uncaught SyntaxError: Unexpected token )`,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/10863129/