2

我想通过 ejb 和 servlet 将我的数据库中的动态数据内容添加到我的 B div 位置,而不更改 A 背景数据 css 或其他设计。我该怎么做?我可以从 IFRAME 获得任何帮助吗?我怎样才能做到这一点?这里 B 是中间空间,A 是外部布局。

4

1 回答 1

0
jQuery 1.9 (early 2013): We’ll remove many of the interfaces already deprecated 
in version 1.8; some of them will be available as plugins or alternative APIs 
supported by the jQuery project. IE 6/7/8 will be supported as today.

http://blog.jquery.com/2012/06/28/jquery-core-version-1-9-and-beyond/

因此,只需尝试使用 jquery 发送 ajax 请求。

下面是我从我的一个项目中使用的一个小片段。

$.ajax({
            type: "POST",
            url: "tradecopy.action",
            data: $("#tradecopyform").serialize(),
            complete: function(xhr, textStatus) {
                $("#innerModalPopupDiv").html(xhr.responseText);
            }
        });
于 2013-08-28T05:22:33.530 回答