I have a html control in aspx page.
<input type="checkbox" name="Booking" id="chkBooking" class="css-checkbox" runat="server" /><label for="chkBooking" class="css-label">Booking</label>
I would like to add a javascript event when checkbox is clicked, and that event to be executed in codebehind, like this example here I found on the web:
TextBox1.Attributes.Add("onkeyup", displayControlName +
".innerText=this.value.length;");
How can I call that event also in the code behind?