Posted on: 8/7/2015 12:52:17 PM | Views : 740

Hi,
I have retrieved four values from database. I need to create or add this four checkbox for this values using jquery.
$.ajax({ type: 'POST', url: 'PurchaseMaterial.aspx/GetSupplierById', //data: JSON.stringify(obj), data: "{Id:" + JSON.stringify(Id) + ",chkboxId:" + JSON.stringify(chkboxId) + "}", contentType: 'application/json; charset=utf-8', dataType: 'json', success: function (data) { $('[id$=txtSupplierName]').val(data.d.Name); var Material = []; var bname = []; Material = data.d.BrandId.split(';'); bname = data.d.BrandName.split(';'); ...

Go to the complete details ...