开发者

Identiying elements in a page

开发者 https://www.devze.com 2023-04-06 10:52 出处:网络
My page has a form and a table. When post this form (A), filter some data and display in the table via ajax.

My page has a form and a table. When post this form (A), filter some data and display in the table via ajax.

Some form fields open a telerik window that has a form(B) and table. In this window when sending the form is filling the table of form A. This is because my javascript do something like this:

 $.post(this.href,
        serializedForm,
        function (response) {
            $("#grid-result").html(response);
        });

All grid has the same id. I know t开发者_运维知识库hat this is a problem, but there is an indirect way to reach the grid ?

0

精彩评论

暂无评论...
验证码 换一张
取 消