Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Kapitel 8. Die Seite zähmen HTML fein wü... > Knotentext mit einer Funktion ersetz...

8.12. Knotentext mit einer Funktion ersetzen

Eine Allzweck-Knotentext-Ersetzungsfunktion ist eine praktische Sache, nicht nur für das Strichmännchenabenteuer. Eine solche Funktion arbeitet ähnlich wie der Code zum Ersetzen der Szenenbeschreibung, den wir bereits erarbeitet haben. Nur erfordert der Code diesmal Funktionsargumente.

function knotenTextErsetzen(id, neuerText) {
   ...
}


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial