$(document).ready(function () { $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "ClientSales.aspx/BindDatatoDropdown", data: "{}", dataType: "json", success: function (data) { $.each(data.d, function (key, value) { $('#%=ddlCategory.ClientID%>').append($("<option><;/option>").val(value.cat_id).html(value.cat_name)); }); }, error: function (data) { } }); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)