Post Data Using Pjax

anyone knows, how to post data using pjax

or maybe we must using ajax jquery in my _form

Currently, I have only used pjax to update something like a gridview. But it seems like this could work:

var people = [{ first: "John", last: "Doe" }, { first: "Jane", last: "Smith" }];

$('a.sheetlink').click(function(e) {



    type: 'POST',

    url: $(this).href,

    container: '#content',

    data: people,

    dataType: 'application/json'