Purchase Solution

Create a Javascript/Html page to accept/decline your T&C's.

Not what you're looking for?

Ask Custom Question

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.

Attachments
Purchase this Solution

Solution Summary

This solution contains a very well written Javascript program with all the required html pages. The code is very easy to understand and mostly commented, so that it becomes very easy for a reader to understand what is going on in the program.

Solution Preview

Dear student,

Please find the solution attached. To execute the program please keep all the 3 files under the same directory and then launch the ...

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.