jquery - How to assign checkbox in JavaScript variable -


i implementing grid view load on demand using javascript , json.

   function onsuccess(response) {         debugger;         var xmldoc = $.parsexml(response.d);         var xml = $(xmldoc);         pagecount = parseint(xml.find("pagecount").eq(0).find("pagecount").text());         var customers = xml.find("quotes");         $("[id$=gridpolicynumbers] .loader").remove();         customers.each(function () {             var customer = $(this);              var row = "<tr>" +             **"place check box code here"**+             "<td>" + customer.find("policynumber").text() + "</td>" +             "<td>" + customer.find("quotenumber").text() +             "</td><td>" + customer.find("insuredname").text() +             "</td><td>" + customer.find("effectivedate").text() +             "</td><td>" + customer.find("expiredate").text() +             "</td><td>" + customer.find("linecode").text() + "</td>"             + "</tr>";              $("[id$=gridpolicynumbers]").append(row);             //alert(row.text);          }); 

here have add first column check box.

can 1 suggest how do..

thanks in advance.

in place of **"place check box code here"**+ need is:

"<td><input type='checkbox' name='check1' value='check me'/></td>"


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -