My button is not automatically triggering, it works when I click it manually,

```
   <script type="text/javascript">
     $(document).ready(function() { 

     $('#yes').click(function() { 
            $.unblockUI(); 

            $('<%= HiddenButton.ClientID %>').trigger('click');  // NOT Working
            __doPostBack('<%=HiddenButton.ClientID %>', '');     // THIS not working too

```

Button code is as given below. Both trigger and doPostBack didn't worked at all

```
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
    <ContentTemplate>
    <asp:TextBox ID="HiddenField1" runat="server" />    
    <asp:Button ID="HiddenButton" Text="Click Me" runat="server" OnClick="Deleting_Click" />

```

and also added trigger as,

```
   <triggers>
     <asp:asyncpostbacktrigger controlid="HiddenButton" eventname="Click" />
  </triggers>

```

I know I can check a value in page load method and then call method there but I want to do it using java script. Can somone direct me in right direction please