0

我有表格上传图片..我想要的是通过ajax处理表格并在成功后显示jquery thinbox ..

4

1 回答 1

2

进行ajax调用,并定义一个回调函数。

在回调函数中调用此方法:

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 回答