0

画像をアップロードするためのフォームがあります。私が欲しいのは、ajaxでフォームを処理し、成功した後、jquerythickboxを表示することです。

4

1 に答える 1

2

ajax-callを実行し、callback-functionを定義します。

callback-functionで、このメソッドを呼び出します。

function tb_show(caption, url, imageGroup)

これは通常、チェックボックスを表示するはずです

ajax呼び出しを行います:

$.ajax({
  url: "yoururl.php",
  cache: false,
  success: function(){ // --> this defines what function needs to be called when the ajaxcall was successful.
    // note that you'll need to fill the variables caption, url and imagegroup here. I don't know what they should be in your case.
    function tb_show(caption, url, imageGroup);
  }
});
于 2009-09-24T11:34:41.273 に答える