The front end of this code has already been developed, and uses jquery in multiple places to intercept the user's click. Here I have a radio button that, when clicked, fires the event below. I need to make this even fire for the html input element from my code behind on the page load event to pre-fill the radio buttons. How can I do this?
Jquery event to fire:
//checkboxes
$('.questions-form a.toggle').bind('click', function (event) {
//jquery magic
}
html elements that I need to select, or click:
<div id="form-error" style="display: none"></div>
<div class="questions-form" id="shipping-questions-form">
<div class="question question-textarea has-subquestions">
<div class="question-intro clearfix">
<h2>Did You Receive The Product As Ordered?</h2>
<div class="no-yes answer-acceptable">
<div class="no"><label class="label-1" for="shipping_question_ID_product_received_as_ordered_not_acceptable">Not Acceptable</label></div>
<a href="#" class="toggle"></a>
<div class="yes"><label class="label-2" for="shipping_question_ID_product_received_as_ordered_acceptable">Acceptable</label></div>
<label class="universal-label"></label>
<input type="radio" id="shipping_question_ID_product_received_as_ordered_not_acceptable" name="shipping-question-ID-product-received-as-ordered" value="Not Acceptable" runat="server">
<input type="radio" id="shipping_question_ID_product_received_as_ordered_acceptable" name="shipping-question-ID-product-received-as-ordered" value="Acceptable" checked="true" runat="server">
</div>
</div>