console.log 2575 |
||
javascript | Jeremie Corpinot | |
Write in the console output | ||
document.getElementById 2168 |
||
javascript | Jeremie Corpinot | |
Get a DOM element by its ID | ||
if else 2108 |
||
javascript | Jeremie Corpinot | |
Write an if else condition | ||
document.querySelector 2082 |
||
javascript | Jeremie Corpinot | |
Get a single DOM element by its selector (class or id). Selectors can be chained | ||
document.getElementsByClassName 2048 |
||
javascript | Jeremie Corpinot | |
Get a DOM element by its class | ||
element.addEventListener 2046 |
||
javascript | Jeremie Corpinot | |
Add an event listener on a DOM element | ||
document.querySelectorAll 1972 |
||
javascript | Jeremie Corpinot | |
Get an array of DOM elements by queryring selectors (class or id). Selectors can be chained | ||
Anonymous function 1965 |
||
javascript | Jeremie Corpinot | |
Define an anonymous function without parameter | ||
document.getElementsByName 1961 |
||
javascript | Jeremie Corpinot | |
Get a DOM element by its name | ||
WinJS.NamespacePage.define 1959 |
||
javascript | Jeremie Corpinot | |
Define a new WinJS namespace with page events | ||
WinJS.Promise 1948 |
||
javascript | Jeremie Corpinot | |
Define a new WinJS Promise | ||
WinJS.UI.Fragments.renderCopy 1930 |
||
javascript | Jeremie Corpinot | |
Render a new WinJS Fragment | ||
WinJS.Class.define 1891 |
||
javascript | Jeremie Corpinot | |
Define a new WinJS method inside a class |