Question: question regrading JQuery IT2320 - Lab 3 var items = []; var costs = []; // 2. Change all calls to document.getElementById to the jQuery

question regrading JQuery

IT2320 - Lab 3

Grocery List

Add to Shopping Cart

Description:

Amount:

Current Items

Summary

This is not a real company. It's a project completed in IT 2320 -

Interactive Internet Programming.

this is the instruction

## Instructions

1. Add jQuery using a CDN

2. Change all calls to document.getElementById to the jQuery $ method

3. Replace the window.onload event with jQuery document(ready)

4. Change getElementsByClassName to the jQuery $ method

5. Change the following line style.display = "none" to hide()

6. Change the following line style.display = "block" to show()

7. Change all .innerHTML properties to jQuery .html() get and set

Example: $('#summary').html(itemsSummary);

8. Change all .value properties to jQuery .val() get and set

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!