diff --git a/WebContent/html/javascript/shop.jsp b/WebContent/html/javascript/shop.jsp index 5a543d7..d81ecf9 100644 --- a/WebContent/html/javascript/shop.jsp +++ b/WebContent/html/javascript/shop.jsp @@ -1,19 +1,20 @@ +<%@ page import = "database.MySQLAccess" %> +<%@ page import = "entities.User" %> +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" +pageEncoding="ISO-8859-1"%> + + +
+ + + + + diff --git a/WebContent/html/javascript/shoppingCart.js b/WebContent/html/javascript/shoppingCart.js index eec90fc..a067c44 100644 --- a/WebContent/html/javascript/shoppingCart.js +++ b/WebContent/html/javascript/shoppingCart.js @@ -86,7 +86,7 @@ function show(){ var id = cart[i]; //this gets the id value from the cart for(var j = 0; j < devices.length; j++){ //iterate device list if(devices[j].id === id){ //match the id's "nhpup.popup(' ');" - html += ''; //create listing of all the devices + html += '' + devices[j].name + '