<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.tech.spuur.ch/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>tech.spuur - Wiki - javascript</title>
        <description></description>
        <link>https://wiki.tech.spuur.ch/</link>
        <lastBuildDate>Mon, 25 May 2026 20:51:49 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://wiki.tech.spuur.ch/_media/wiki/dokuwiki.svg</url>
            <title>tech.spuur - Wiki</title>
            <link>https://wiki.tech.spuur.ch/</link>
        </image>
        <item>
            <title>ajax</title>
            <link>https://wiki.tech.spuur.ch/javascript/ajax?rev=1613405869&amp;do=diff</link>
            <description>Javascript - Ajax-Request

Fetch

Einen asynchronen Request über Javascript machen mithilfe der Fetch.

Docs: &lt;https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch&gt;

Variablen / Parameter


let formData = new FormData();
formData.append(&#039;input1&#039;, &#039;text1&#039;);
formData.append(&#039;input2&#039;, &#039;text2&#039;);

let parameters = {
  method: &#039;POST&#039;, // *GET, POST, PUT, DELETE, etc.
  mode: &#039;same-origin&#039;, // no-cors, *cors, same-origin
  cache: &#039;default&#039;, // *default, no-cache, reload, force-cache, …</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 15 Feb 2021 16:17:49 +0000</pubDate>
        </item>
        <item>
            <title>documentready</title>
            <link>https://wiki.tech.spuur.ch/javascript/documentready?rev=1613403925&amp;do=diff</link>
            <description>Javascript - Document ready function

Eine Funktion die erst ausgeführt wird, wenn der DOM vollständig geladen ist.

jQuery


jQuery(document).ready(function(){
  // document ready function;
  alert(&#039;DOM sucessfully loaded&#039;);
});


Vanilla Javascript</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 15 Feb 2021 15:45:25 +0000</pubDate>
        </item>
    </channel>
</rss>
