var leaguetable = new Array();
leaguetable[0]= #leaguetable;
leaguetable[1]= #leaguetable1;
leaguetable[2]= #leaguetable2;
leaguetable[3]= #leaguetable3;
leaguetable[4]= #leaguetable4;
leaguetable[5]= #leaguetable5;
leaguetable[6]= #leaguetable6;
leaguetable[7]= #leaguetable7;
leaguetable[8]= #leaguetable8;
你可以像我這樣做的數組值的ID?因爲目前這不適合我。這是一個有效的數組(值)?
在單引號添加這些作爲字符串 – Jain
'leaguetable [0] = '#leaguetable';' –
或使用 leaguetable.push( '#leaguetable'); leaguetable.push('#leaguetable1'); 等等 – Jain