Top "Confirm" questions

For questions regarding the JavaScript `confirm` function or other such functions that ask the user for yes/no confirmation.

onclick="return confirm('')" working with $('.class').click(function () {});

I have this function that disables the input after user clicks: $('.click-off').click(function () { var btn = this; setTimeout(function () { $(…

jquery onclick confirm
Confirmation before submitting form using jQuery

I am trying add a confirmation before a form is submitted using jQuery. I found a nice example in another …

jquery forms confirm
ASP.NET Gridview delete row only on confirmation

I have a gridview with the onRowDeleting method implemented. I would like to prompt the user with a pop up …

c# asp.net gridview confirm
JavaScript: How to select "Cancel" by default in confirm box?

I am displaying a JavaScript confirm box when the user clicks on the "Delete Data" button. I am displaying it …

javascript jquery confirm
Response from Sweet-alert confirm dialog

I have a function where i costumize my sweet-alert dialog. I want to use it in a lot of places …

javascript angularjs confirm sweetalert
jQuery Confirm Dialog in ASP.NET Button OnClientClick

I have a TemplateField in a GridView in an UpdatePanel with a button called btnDelete. Rather than the standard OnClientClick="…

asp.net jquery jquery-ui dialog confirm
confirm function is not working

*<html> <head> <title>practise</title> <script type="text/javascript"> function …

javascript html function confirm
Modal dialog present (Selenium::WebDriver::Error::UnhandledAlertError) after dismissing confirm popup

I have a page with something like this: <input type="button" onclick="confirm('confirm popup');" value="click" /> When …

javascript popup watir watir-webdriver confirm
confirmation before exit dialog

In most pages, if your doing an action, (like editing, creating), and when I attempt to exit, it mostly prompts …

javascript html api exit confirm
Javascript confirm with PHP function afterward

I would like a way to have a confirm box pop up when a user clicks "delete" to remove a …

php javascript confirm