billy
billy

Reputation: 157

change pop up message

How can I change the popup message to have ok and cancel buttons? Here is a link to my current code:

http://jsfiddle.net/Ck4Fr/

Upvotes: 0

Views: 198

Answers (2)

Chase
Chase

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

Snake Eyes
Snake Eyes

Reputation: 16764

Well, you can use alert or confirm dialog.

If you want to use customized popup then use Jquery UI Dialog

Upvotes: 0

Related Questions