次のように、クリック関数内にオブジェクト配列を作成しました。
$(".tableButton").click(function()
{
CK.tableArray = ["test1","test2","test3","test3"]; // this works
processTableInfo(CK.tableArray); // this works
});
ここで、上記のクリック関数と同じ配列情報を使用して、アプリケーションの別の部分から CK.tableArray にアクセスする必要があります。上記から、この配列内の異なる範囲の要素にアクセスする必要があります...
$(".displayTable").click(function()
{
alert(CK.tableArray) // not define
})