console.log 2561 |
||
javascript | Jeremie Corpinot | |
Write in the console output | ||
document.getElementById 2152 |
||
javascript | Jeremie Corpinot | |
Get a DOM element by its ID | ||
if else 2095 |
||
javascript | Jeremie Corpinot | |
Write an if else condition | ||
document.querySelector 2067 |
||
javascript | Jeremie Corpinot | |
Get a single DOM element by its selector (class or id). Selectors can be chained | ||
document.getElementsByClassName 2035 |
||
javascript | Jeremie Corpinot | |
Get a DOM element by its class | ||
element.addEventListener 2027 |
||
javascript | Jeremie Corpinot | |
Add an event listener on a DOM element | ||
document.querySelectorAll 1962 |
||
javascript | Jeremie Corpinot | |
Get an array of DOM elements by queryring selectors (class or id). Selectors can be chained | ||
Anonymous function 1950 |
||
javascript | Jeremie Corpinot | |
Define an anonymous function without parameter | ||
WinJS.NamespacePage.define 1949 |
||
javascript | Jeremie Corpinot | |
Define a new WinJS namespace with page events | ||
document.getElementsByName 1947 |
||
javascript | Jeremie Corpinot | |
Get a DOM element by its name | ||
WinJS.Promise 1938 |
||
javascript | Jeremie Corpinot | |
Define a new WinJS Promise | ||
WinJS.UI.Fragments.renderCopy 1914 |
||
javascript | Jeremie Corpinot | |
Render a new WinJS Fragment | ||
WinJS.Class.define 1879 |
||
javascript | Jeremie Corpinot | |
Define a new WinJS method inside a class |