Posted By

primitiveshaun on 04/15/11


Tagged

basics


Versions (?)

Confirm


 / Published in: JavaScript
 

Displays a popup message. User must click OK or Cancel. Returns a boolean.

  1. result = confirm ("Would you like a piece of chocolate cake?");

Report this snippet  

You need to login to post a comment.