[jQuery]what's inside jQuery?

check what's inside jQuery object

by tea4two

HTML

<div id="someID"><span>this is only a test to check whats inside the jQuery object. Thank you.</span></div>

CSS

#someID {
    background: #833;
    padding: 10px;
    font-weight: bold;
    font-size: 120%;
    color: #fff;
}

JavaScript

$(function() {
    var _tempImg = $('<img/>').attr('src', 'http://placekitten.com/g/200/300');
    console.log(_tempImg);
    console.log(_tempImg[0]);
});