<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.stephanschlegel.de/index.php?action=history&amp;feed=atom&amp;title=JavaScript_-_DOM_Manipulation</id>
	<title>JavaScript - DOM Manipulation - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stephanschlegel.de/index.php?action=history&amp;feed=atom&amp;title=JavaScript_-_DOM_Manipulation"/>
	<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=JavaScript_-_DOM_Manipulation&amp;action=history"/>
	<updated>2026-05-09T04:51:34Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Wikizone</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=JavaScript_-_DOM_Manipulation&amp;diff=24803&amp;oldid=prev</id>
		<title>37.49.72.8: Die Seite wurde neu angelegt: „ == Helferlein == &lt;pre&gt; function hasClass(element, className) {     return (&#039; &#039; + element.className + &#039; &#039;).indexOf(&#039; &#039; + className+ &#039; &#039;) &gt; -1; } &lt;/pre&gt;  === Mu…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=JavaScript_-_DOM_Manipulation&amp;diff=24803&amp;oldid=prev"/>
		<updated>2020-09-24T20:30:46Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „ == Helferlein == &amp;lt;pre&amp;gt; function hasClass(element, className) {     return (&amp;#039; &amp;#039; + element.className + &amp;#039; &amp;#039;).indexOf(&amp;#039; &amp;#039; + className+ &amp;#039; &amp;#039;) &amp;gt; -1; } &amp;lt;/pre&amp;gt;  === Mu…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== Helferlein ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function hasClass(element, className) {&lt;br /&gt;
    return (&amp;#039; &amp;#039; + element.className + &amp;#039; &amp;#039;).indexOf(&amp;#039; &amp;#039; + className+ &amp;#039; &amp;#039;) &amp;gt; -1;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Multiple Click Events ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
document.querySelectorAll(&amp;#039;.some-class&amp;#039;).forEach(item =&amp;gt; {&lt;br /&gt;
  item.addEventListener(&amp;#039;click&amp;#039;, event =&amp;gt; {&lt;br /&gt;
    //handle click&lt;br /&gt;
  })&lt;br /&gt;
})&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>37.49.72.8</name></author>
	</entry>
</feed>