Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1 Ajax with JSON and XML 1. Create a folder called Lab10. Note: if you do not have Visual Studio or another web server,

Part 1 Ajax with JSON and XML 1. Create a folder called Lab10. Note: if you do not have Visual Studio or another web server, I will grade lightly on this lab. Just use the code from class and the textbook and mimic it for this lab. 2. Add a JSON file called members.json to the Lab10 folder with the following information: [5 points] Person 1: name=Cara Van address=2 Highway city=Cleveland zip=12345 phone=999-999-9999 level=Contributing cost=65.00 Person 2: name=Bill Bord address=1 Side of Street city=Parma zip=11111 phone=123-123-1234 level=Individual cost=50.00 3. Create an XML file called memberships.xml with membership levels. Add your XML file to the Lab10 folder. [5 points] level1 i. type=seasonal ii. cost=35.00 level2 i. type=individual ii. cost=50.00 level3 i. type=family ii. cost=65.00 level4 i. type=contributing ii. cost=70.00 4. Create an HTML file called Lab10.html. Use the following HTML outline. Display all membership levels in the span with id membershipLevels. Display all members in the span with id members. [10 points] First Form

Membership Levels

Current Members

Part 2 Concepts 1. Add an XML file to your project folder called questions.xml. In this XML file, add the root element questions. Then add child elements called question with ids: question1, question2, and question3. Answer the following questions inside of those elements. Make sure that questions.xml is pushed with your project. 2. Describe the purpose of AJAX. What advantage does AJAX provide over a traditional HTML form submit. [2 points] 3. Describe the role of JSON and XML with AJAX. [2 points] 4. If you had to choose just one, which would you choose: XML or JSON? Why? [2 points]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introductory Relational Database Design For Business With Microsoft Access

Authors: Jonathan Eckstein, Bonnie R. Schultz

1st Edition

1119329418, 978-1119329411

More Books

Students also viewed these Databases questions

Question

Define marketing.

Answered: 1 week ago

Question

What are the traditional marketing concepts? Explain.

Answered: 1 week ago

Question

Define Conventional Marketing.

Answered: 1 week ago

Question

Define Synchro Marketing.

Answered: 1 week ago