Skip to content
Advertisement

Password in confirm box Javascript

I have a Delete button in my PHP page which deletes a record. But when I delete that button I do a confirm box with:

JavaScript

Can I make it so when they confirm they have to fill in a password?

So what I mean is something like this

JavaScript

And then they have to fill in a password

Thanks in advance.

Advertisement

Answer

Hi You Need some thing like this, Modify according to your requirements

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement