How can I merge the 2 following statements so that user has only to click once?
if (confirm("A very long explanation here."))
document.write("<input type='submit' value='Press to continue.'>");
Thank you for your help.