a existing element or a string that will find a element by id
html code for creating new elements
the first of the created elements or undefined if none created
Clear the error element defined by errorid if active defined by errortoelement
Create new element from html code
html code
elements created from the html
Do a DELETE request to the url and return the json object
an url that is allowed to use
a real object from call to server or a {result: 'error', error: message}
Do a GET request to the url and return the json object
an url that is allowed to use
a real object from call to server or a {result: 'error', error: message}
Do a POST request to the url and return the json object
an url that is allowed to use
a object that will be stringified to send
a real object from call to server or a {result: 'error', error: message}
Do a PUT request to the url and return the json object
an url that is allowed to use
a object that will be stringified to send
a real object from call to server or a {result: 'error', error: message}
Find one HtlmElement
a existing element or a string that will find a element by id
Optionalselector: string
uses to find a element inside the element found by elmid
HtmlElement or null
Get 0 or more elements from selector(s) or element and selector
existing element to be queried for children or a selector for selecting elemenets
Optionalsel2: stringlist of Elements or null
Find attribute on element or on the first child that have this attribute and return the value
an existing element or a string that will find a element by id
name of the attribure to find
attribute or null
Check for attribute on element or children and return the first element having the attributre defined
an existing element or a string that will find a element by id
name of the attribure to find
element with attributre defined or null
Return a attribute value if it exists
an existing element or a string that will find a element by id
attribute name
attribute value or blank string
Return a attribute value if it exists
an existing element or a string that will find a element by id
attribute name
if set to true a null will be returned for not found
attribute value or blank or null depending on nullonnotfound
Hide a element by adding d-none class
an existing element or a string that will find a element by id
the element or null
Get inner htlm to or from a element
a existing element or a string that will find a element by id
the inner htlm of the element or null if element not found
Set inner htlm to an element
a existing element or a string that will find a element by id
if given a string, it will be set to the element
null if element not found or the element if code set
Test if a instance is a real array and not object or null
to test
true if real array
Test if a instance is a real object and not array or null
to test
true if real object
Call a method when element selected is changed
an existing element or a string that will find a element by id
a method in the class extended on this class
Call a method when element selected is clicked
an existing element or a string that will find a element by id
a method in the class extended on this class
Call a method when element get the named event. This method if for handleing all events that not are so commonly used that they have got their own method like onclickme
an existing element or a string that will find a element by id
the name for the event to register ex input, focusin, focusout
a method in the class extended on this class
Call this function when document have finished loading
a function to run
Remove children from the back of thil element till there is only the amount of to left
an existing element or a string that will find a element by id
Optionalto: number
hove many children to be left, default is 0 if not set
Add a class to all selected elements
a selector that will match elements in the DOM
class name to add
Remove class from all selected elements
a selector that will match elements in the DOM
class name to remove
Send error to console and error element if defined To error element is defined by errorid and errortoelement To console is defined by errortoconsole
the result from call to deserver api or a string
Set a attribute value on a element or if value is null, remove it
an existing element or a string that will find a element by id
attribute name
a string value to set or null if you want to remove the attribute
element if found and attribute set or null if element not found or remove failed
Show a element by remove d-none class
an existing element or a string that will find a element by id
the element or null
Get value from element
an existing element or a string that will find a element by id
return the value of element as string or boolean if the element exists and null if not
Set value in element
an existing element or a string that will find a element by id
this is the value to set
it will return undefined if a value is set and null if element do not exist
Append children created by html code to the end of the selected element