Where can i find a list of all available methods on variables in Javascript?
Eg:
var Variable1 = document.getElementById("Button1");
var Variable2 = document.getElementById("Label1");
var Variable3 = document.getElementById("TextBox1");
What are the properties of Variable1, Variable2 and Variable3?
Are they the same even though Variable1 is a Button element, Variable2 is a Label element and Variable3 is a TextBox element?
Aside from Dredel’s answer, you can also log in your console the available properties, and methods of the object by using
console.dir(document.getElementById('idhere'));, or variations thereof.