JavaScript コードを実行すると、IE でのみ次のエラーが発生します。ただし、Firefoxでは問題なく動作します。以下は私のコードです:
var groupTable = {};
var groupFS = {};
var tableTotal = {};
var grandTotal = 0;
$.each(allLists, function(index) {
thisList=allLists[index];
tableTotal[thisList.name]=0;//This line throw the error
thisDiv=$("<div id='" +thisList.name+"'/>");
fsString='<fieldset><legend>' + thisList.label;
fsString+='<span class="legendneutral">';
fsString+=' (span class="ui-button tableselect"
onclick="QtOptions.selectTable(this)">Select All </span>|'
fsString+='<span class="ui-button tabledeselect" onclick
="QtOptions.deselectTable(this)> Deselect All)</span>)'
fsString+='</span>
fsString+='<legend></fieldset>' ;
groupFS[thisList.name]=$(fsString);
groupTable[thisList.name]=$("<table id='" +thisList.name+ "_table' class
='sortable' cellpadding='0' cellspacing='0'/>");
tHead='<thead><tr style="font-size:12px;"><th style="width:6%;">Selected</th>
</tr></thead>
$(groupFS[thisList.name]).appendTo($(thisDiv));
$(tHead).appendTo($(groupTable[thisList.name]));
$(groupTable[thisList.name]).appendTo($(groupFS[thisList.name]));
$(thisDiv).appendTo($(tabdiv));
});