我可以发送"点击"到asp代码后面的href?

时间:2014-09-23 17:23:06

标签: c# jquery html asp.net .net

如果用户单击下面的href,则会运行jquery中编写的复杂函数。有什么办法可以在asp窗体后面的代码中模拟这个点击吗?换句话说,我需要点击" href名为" shipping_question_ID_product_received_as_ordered_link"从我的代码背后预先填充此输入。有人可以帮忙吗?

<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" runat="server" id="shipping_question_ID_product_received_as_ordered_link"></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">