Reputation: 157
How can I change the popup message to have ok and cancel buttons? Here is a link to my current code:
Upvotes: 0
Views: 198
Reputation: 29549
Here's an EXAMPLE.
From the OP, I don't see anywhere that has an alert
message or another type of pop-up, but if you are in fact using an alert
for your pop-up you can change it to confirm
instead.
Example:
alert("There is an error!");
vs
confirm("Continue anyway?");
Upvotes: 2
Reputation: 16764
Well, you can use alert
or confirm
dialog.
If you want to use customized popup then use Jquery UI Dialog
Upvotes: 0