This forum is now read-only. Please use our new forums at

HTML Basics Forum

View Course » View Exercise

1479 points
Submitted by
over 2 years ago

"Confirm" Pop-up: One time

How do you make it so that when you add the code confirm("Example text"); to your codebit, you can make it pop up one time only? (No, clicking the thing that says prevent this page from creating additional dialogs does not count.) Whenever I try to edit the confirm code, it pops up every time with its new text and I sure wouldn't like to look at my codebit while wading through all those pop-ups....

0 votes


Can i see the codebit? I can always temporary disable pop-ups.

2965 points
Submitted by
over 2 years ago


5ac0e923961bae76e60003bf_9638442 stetim94 over 2 years ago

i will look into it, the easiest solution would be to use jquery, and then use document.ready