Home > JQuery > How to bind the CheckboxList using Jquery and Ajax



How to bind the CheckboxList using Jquery and Ajax

In this article, we have described how to bind the CheckboxList using Jquery and Ajax with an example and a sample code.


In this article, we have described how to bind the CheckboxList using Jquery and Ajax with an example and a sample code. In this example, we have bound a CheckboxList and got the selected items from that CheckboxList and shown on the span tag, using each loop for this task, pushing the items in the Array variable.

 

Required Namespaces

We need to use the following namespaces.

 

HTML

In this HTML we have taken div chkrole and Append the HTML using map function in Jquery.

 

C# Code

C# code we have taken static datatable for the referance.

 

Screenshot

how to bind checkboxlist in asp.net    

 

Download




Note: All contents are copyright of their authors.



Comments



Leave a Reply

Comment:*
Email ID:*


Name:*