Ignore:
Timestamp:
Oct 31, 2014 11:14:19 AM (11 years ago)
Author:
quyenla
Message:

collaborator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/assets/js/admin/collaborator.js

    r346 r360  
    66    };
    77})(jQuery);
     8$(".btn#add_user").click(function ()
     9{
     10    $.ajax({
     11                url: "cong_tac_vien/them",
     12                type: "POST",
     13                data: $("#add_user").serialize(),
     14                success: function (data, textStatus, jqXHR)
     15                {
     16                    // $result = jQuery.parseJSON(data);
     17                    $("#content").html(data);
     18                    init_page();
     19
     20                },
     21                error: function (jqXHR, textStatus, errorThrown)
     22                {
     23                    $(".ajaxloading").hide();
     24                }
     25            });
     26       
     27        })
Note: See TracChangeset for help on using the changeset viewer.