Basic JavaScript Snippets

window onLoad
Description:
Example:

get element
Description:gets an html element
Example: