@H_403_1@我使用$.ajax将数据发布到服务器.然而,我想传递一个附加的参数到’成功’回调来告诉回调函数的HTML元素的id的响应是为.
有可能的?喜欢:
success_cb(data,elementid) { (update the elementid with the server returned data) } $.ajax({ ... success:success_cb(elementid) });