If the check box is not selected display an alert dialog


Create a script that requires your visitors to accept your terms and conditions before proceeding, by selecting a check box. save the page as AcceptTerms.html. include two links , an Accept link amd a Decline link. The Accept link should open a page named AcceptPage.html that displays the text "thanks for accepting our terms." The Decline link should open a page named DeclinPage.html that displays the text "you did not Accept our terms" in the AcceptTerms. html document, create a single event hadler function named comfirmTerms() that determines whether the check box is selected, and returns a value of true if it is or false if isnt't. call the confirmTerms() function from the Accept link. if the check box is selected, open the AcceptPage.html document. If the check box is not selected, display an alert dialog box information the user that he or she must accept the terms. if the user clicks the Decline link, open the Declinepage.html document.

Solution Preview :

Prepared by a verified Expert
Programming Languages: If the check box is not selected display an alert dialog
Reference No:- TGS01244818

Now Priced at $15 (50% Discount)

Recommended (96%)

Rated (4.8/5)