Let\'s say I wanted to create an input element using the DOM. Instead of doing something like this
var input = document.createElement(\"input\"); input.setAt
In jQuery you can do:
var $input = $("", {class: "my-class", type: "checkbox", checked:"checked"});