Skip to Main Content
JavaScript - Schritt für Schritt
book

JavaScript - Schritt für Schritt

by Steve Suehring
May 2011
Intermediate to advanced content levelIntermediate to advanced
480 pages
17h 59m
German
Microsoft Press Deutschland
Content preview from JavaScript - Schritt für Schritt
Mit Formularinformationen arbeiten
297
Listing 14.3 zeigt den Code für diese Funktionalität (in der Begleitdatei listing14-3.htm enthalten).
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Pizza</title>
<script type="text/javascript" src="ehandler.js"></script>
<script type="text/javascript">
function prepza() {
var checkboxes = document.forms["pizzaform"].toppingcheck.length;
var newelement = document.createElement("p");
newelement.setAttribute("id","orderheading");
document.body.appendChild(newelement);
newelement.appendChild(document.createTextNode("Diese Pizza bes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Script: Das umfassende Referenzwerk

Java Script: Das umfassende Referenzwerk

David Flanagan

Publisher Resources

ISBN: 9783848320417Purchase bookSupplemental Content