summaryrefslogtreecommitdiffstats
path: root/Bachelor/Entwicklung webbasierter Anwendungen/Praktikum2/functions.js
blob: d60df002f8c893a7cffe786c11b7fad32a81ddf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
function hello() {
	alert("Hello");
}

function addToCart() {
	var warenkorb = document.getElementsByName("warenkorb");
	var newElem = document.createElement("option");
	var newText = document.createTextNode("1 neue Pizza");
	newElem.appendChild(newText);
	warenkorb.add(newElem);
	
}

function delFromCart() {
}

function checkAddr() {
	return false;
}