Erhan Demirci
Erhan Demirci

Reputation: 4209

Jquery Mobile asp.net webservice parameter

 $.ajax({
    type: "POST",
    url: "ContactList.asmx/GetContacts",
    data: "{'start':" + 1 + "}",
    contentType: "application/json; charset=utf-8",
    dataType: "json",
    success: function (msg) {
        $.mobile.showPageLoadingMsg();
         console.log(msg.d);
    },
    error: function () {
        $('[data-url="' + tempdataurl + '"] div[data-role="content"]').html("Error loading article. Please try web version.");
    }
});

how can I send Muttiple paramater? I have 2 parameter start and count . please help.

Upvotes: 0

Views: 276

Answers (1)

Hkachhia
Hkachhia

Reputation: 4539

Please try this code

data: {start: 1 ,count:5}

Upvotes: 1

Related Questions