0

我试图让我的 JQuery 暂停,直到加载了一个对象。我已经看到了 .delay() 函数,但我不想延迟特定对象 $('item').delay(10) 那么我可以执行以下操作吗?

while(myObject==null){
  // 1 second wait for ScriptManager.RegisterClientScriptBlock to finish building Json
  pause(1);
}

DosomethingWithJson();
4

1 回答 1

0

更新:试试这个:myObject.ready();

于 2011-03-29T13:05:27.760 回答