About 53 results
Open links in new tab
  1. javascript - How to display a confirmation dialog when clicking an …

    May 5, 2012 · @Tophe The confirm dialog itself has nothing do with specific elements. For something as simple as this, is it really necessary to separate the HTML and JavaScript? What …

  2. Javascript Confirm popup Yes, No button instead of OK and Cancel

    Oct 18, 2015 · Javascript Confirm popup, I want to show Yes, No button instead of OK and Cancel. I have used this vbscript code: <script language="javascript"> function window.confirm …

  3. JavaScript Form Submit - Confirm or Cancel Submission Dialog Box

    Learn how to create a JavaScript confirmation dialog box for form submission, allowing users to confirm or cancel their actions.

  4. html - Javascript confirm dialog - Stack Overflow

    A better option would be to use JavaScript or a form to post the desired action. You can make a request to the server with the POST method, or arguably better, the DELETE method.

  5. html - How does confirm () work in JavaScript - Stack Overflow

    Jan 31, 2015 · The alert/confirm work because the UI processing for them is handled outside of JavaScript execution context. In implementations such modal dialogs may include a while-loop …

  6. javascript - Use confirm () as a condition to if? - Stack Overflow

    But as far as I know, I can't use another brackets on the if sentence conditions? There is nothing that prevents you from executing a function within an if condition. That said, I always get all the …

  7. javascript - How to create a dialog with “Ok” and “Cancel” options ...

    49 Avoid inline JavaScript - changing the behaviour would mean editing every instance of the code, and it isn’t pretty! A much cleaner way is to use a data attribute on the element, such as …

  8. How to confirm and call function with onclick - Stack Overflow

    Sep 4, 2015 · 11 Can I call JavaScript function with return confirm(); in HTML onclick event or do I need to do function which contains confirmation and call to another function?

  9. Custom choices in JavaScript confirm dialog - Stack Overflow

    Nov 25, 2009 · 21 How to write a confirm dialog in JavaScript with custom choices? Instead of just "Ok" and "Cancel", I would like to have for example "This" "That" and "Other".

  10. How to automatically click a confirm box? - Stack Overflow

    Jul 20, 2012 · My script clicks an image on a site. The image has an anchor href and an onclick href, but the onclick href has a confirm box that pops up once it's clicked. The onclick HTML is: …