JS Beispiel innerHTML2
How do I make an js beispiel innerhtml2?
What is a js beispiel innerhtml2? How do you make a js beispiel innerhtml2? This script and codes were developed by Anna Prenzel on 04 September 2022, Sunday.
JS Beispiel innerHTML2 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>JS Beispiel innerHTML2</title>
</head>
<body> <h1>Hochschule Zittau/Görlitz</h1>
<section id="hszg_beschreibung"> <p>Bei uns gibt es 6 Fakultäten.</p> <p>Wir bieten über 30 Studiengänge an.</p>
</section>
<button onclick="changeHTML()">Ändere den Text</button>
<button onclick="undo()">Rückgängig</button> <script src="js/index.js"></script>
</body>
</html>
JS Beispiel innerHTML2 - Script Codes JS Codes
function changeHTML(){ var element = document.getElementById("hszg_beschreibung"); element.innerHTML = "<h3>Beschreibung der Hochschule</h3><p>Bei uns gibt es 30 Studiengänge an 6 Fakultäten</p>";
}
function undo(){ var element = document.getElementById("hszg_beschreibung"); element.innerHTML = "<p>Bei uns gibt es 6 Fakultäten.</p><p>Wir bieten über 30 Studiengänge an.</p>";
}
Developer | Anna Prenzel |
Username | HSZG-Frontend-Kurs |
Uploaded | September 04, 2022 |
Rating | 3 |
Size | 1,734 Kb |
Views | 20,240 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
JS Aufgabe Quiz 2 | 1,321 Kb |
JS Aufgabe Quiz jQuery | 1,895 Kb |
CSS Beispiel Menu | 2,010 Kb |
JS Aufgabe Quiz | 1,636 Kb |
Form Beispiel 2 | 1,719 Kb |
JS Beispiel getElementsByClassName 3 | 1,988 Kb |
JS RadioButtons 2 angularJS | 1,699 Kb |
JS Beispiel innerHTML | 1,627 Kb |
JS Beispiel getElementbyId | 1,615 Kb |
Form Beispiel 1 | 1,552 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Iron Man SVG Loading Animation | Andythayer | 3,069 Kb |
Eunice A | Ejbronze | 2,203 Kb |
Mega menu | DimaZubkov | 5,066 Kb |
Side Sliding Menu CSS | EduardL | 4,388 Kb |
Cloudy Spiral CSS animation | Hakimel | 6,587 Kb |
LeMandinque | Aadesida | 9,046 Kb |
CSS Colors | Alexpate | 2,232 Kb |
CSS Piano | Dannystyle | 5,138 Kb |
Reviews and Ratings Star | Zbnmstry | 1,591 Kb |
Default Input, Textareas, Submits, and Buttons in iOS | Demersdesigns | 2,334 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!