码迷,mamicode.com
首页 > Web开发 > 详细

Jquery.ajax({...}) 为指定元素加载视图

时间:2015-06-04 13:25:36      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:

       $.ajax({
                url: "/News/Index",
                data: { CatalogId: node.key },
                type: "POST",
                dataType: "html",
                success: function (data) {
                    $(".newsGlobalContainer").html($(data).find(".newsGlobalContainer"));
                }
            });

 

Jquery.ajax({...}) 为指定元素加载视图

标签:

原文地址:http://www.cnblogs.com/xiaochun365/p/4551241.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!