How to assign Checkbox value in Client-Side?

 Posted by vishalneeraj-24503 on 5/3/2014 | Category: ASP.NET Interview questions | Views: 1611 | Points: 40
Answer:

We use value property to assing checkboxes value.

For Example:-
<asp:CheckBox ID="CheckBox1" runat="server"/>


function assign_value()
{
document.getElementById('CheckBox1').value = "Yes";
}


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response