Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8624455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:31:59+00:00 2026-06-12T07:31:59+00:00

I know how to trigger a button click via jquery. : $(‘#hiddenSendButton’).trigger(‘click’); What I

  • 0

I know how to trigger a button click via jquery. :

$('#hiddenSendButton').trigger('click');

What I was trying to do is have this trigger a click event in the codebehind.

<input id="hiddenSendButton" class="hiddenSendButton" type="hidden" runat="server" onclick="btnSend_Click" />

I don’t think that I am doing this correctly, I am guessing that I need to use an asp.net button control in order to tie it to the codebehind, or something of that nature.

Here is my codebehind. :

Protected Sub btnSend_Click(ByVal sender As Object, ByVal e As EventArgs) 

I tried added in a handles clause but due to it being an input button it didn’t have that.

Any ideas? I am sure it is simple I just can’t seem to find anything on this through my searching.

One of the things that I was thinking was using an asp.net button but how do I make that hidden but still visible on the clientside.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:32:00+00:00Added an answer on June 12, 2026 at 7:32 am

    Yes you will need to use an asp.net button control to tie it to the click event in the code-behind.

    <asp:button runat="server" id="btnSend" class="hiddenSendButton" onclick="btnSend_Click" />
    

    Also, in your example you have it as a hidden field, not a hidden button. These are two very different things. Hidden fields don’t have the ability to be “clicked”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to use jquery to trigger a click. I've discovered that triggered
I can't seem to trigger the click event of input file in IE and
I know that using .submit will trigger an event when the submit button is
I'm using jQuery to develop in web environment. I want to know why $(#a#trigger).trigger('mouseenter');
Know this might be rather basic, but I been trying to figure out how
I know that Phonegap has an event for back button, but it's only available
I am trying to add a click event on the element that is return
dudes, does any of you know how to do this? i have a page
I admittedly don't know much about JQuery but I have an AJAX form where
We all know that you can simulate click or any other event on an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.