We help IT Professionals succeed at work.
Get Started

Websforms want jQuery confirm after button clicked

Charles Baldo
Last Modified: 2016-02-13

I have a web form that a user is entering hours worked. When the user presses the button

<asp:Button ID="cmdSubmit" CausesValidation="true" runat="server" Text="Submit Hours" OnClick="cmdSubmit_Click" />

I would like a jQuery box to ask if the hours that have been tallied and put in this put in this textbox

<asp:TextBox ID="TotalHours"  CssClass="data-input"  ClientIDMode="Static" runat="server" />

to appear and ask if the value in this textbox are correct.  If the user chooses "Yes" I want the dialogbox to go on and execute the event at

 if not I want the event to not happen
Watch Question
Senior Software Engineer
Top Expert 2009
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant

An Experts Exchange subscription includes unlimited access to online courses.

Get Started
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE