Using attr on elements created with javascript
<p>If I create a new DOM element with Javascript <code>document.createElement</code>, is there a way to use jquery function attr() to change the element's attribute?</p>
