JavaScript: Confirm dialog box that shows value from a text box -


Is there a way to display a confirmation dialog box on which a user is typed in a text box on a form ? (For example, if the user types 100.00, I would like to see a message in the dialog box, like "confirmation amount. OK click if $ 100.00 is the correct amount.")

Yes:

  var amount = document.getElementById ("textbox"). value; Confirm (click on "Confirm Amount." OK, if $ "+ amount +" is the correct amount. ")  

Edit: Here's an example:


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -