Skip to content

Functions

Anonymouse Coder edited this page Dec 2, 2021 · 1 revision

This page is what all of the javascript functions do.

  1. getQueryVariable(variable) - Returns the value of a specific GET request variable.
  2. setInnerHTML(selector, html) - Sets the inner html of the selector.
  3. setText(selector, text) - Same thing as setInnerHTML() but with text instead.
  4. addElement(selector, id) - Adds a HTML element to the <body> tag.
  5. qsel(selector) - Easer way of running document.querySelector(selector). You wouldn't believe how much time this actually saves.

Clone this wiki locally