我需要一個JavaScript變量下表中存儲:2維數組在javascript
Nodeid parentid theme Document
4787814 4787484 Theme1 Document 1
4787824 4787484 Theme2 NULL
4787834 4787824 Theme2.1 Document 1 of theme 2.1
4787834 4787824 Theme2.1 Document 2 of theme 2.1
4787834 4787824 Theme2.1 Document 3 of theme 2.1
4787844 4787824 Theme2.2 Document 1 of theme 2.2
4787854 4787824 Theme2.2 Document 2 of theme 2.2
是否有任何的jQuery或JavaScript代碼,可以幫助我存儲在類似的結構此表。到目前爲止,我有以下JavaScript代碼。
var ThemesCollection=
{
Themes: {},
Initialize: function()
{
ThemesCollection.Themes=new Object();
}
}
太棒了!感謝了很多。 – Jose3d 2010-09-15 08:46:47