Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 556
  • Last Modified:

how to call a code behind button_click in jquery

Hi, I opened a Popup using Jquery dialog it contains all asp.net controls [ submit,textbox]

When i click submit on popup no action is performing.....how can i call that action with jQuery

i am beginner..can u explain in detail...if possible with sample code.......
1 Solution
you can call the button's click method like :


where buttonid is your button's id
praveen7kAuthor Commented:
thanks for this ...but

let   protected void btnSubmit_Click( Object Sender,Eventargs e)
        // connection to the database
in jquery if i write $("#btnsubmit").Click()---->how it's going to call that btnSubmit_Click action
can u please explain ?? how it works
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


this is basically doing the same thing as moving your mouse to the button and performing the button click manually
praveen7kAuthor Commented:
I did not find solution with above

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now