function confirm()
{
if (window.confirm("Press a button!") == true) {
return false;
} else {
return false;
}
}
i have a error on not available confirm.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Manas MohapatraRank #182 · 13.2K reputationPosted May 19, 2017, 1:08 AM EDT
Rajavel G97 reputationPosted May 22, 2017, 11:12 PM EDT