D
D
Dmitry2016-09-30 13:25:18
JavaScript
Dmitry, 2016-09-30 13:25:18

A function to display a confirmation window?

Good afternoon dear developers!
There is news on the page (there is a button for deleting the article itself) a button, when pressed, the news is deleted.
I want to make that when you click on this delete button, a confirmation window pops up
a335dca43fc94fb1babad5640b75ff6e.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2016-09-30
@miraage

window.confirm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question