title: create JQuery object by passing DOM object?
body: <p>So, let say I have this:</p>
  
  <pre><code>var d = document.createElement('div');
  d.id = "whatever";`
  </code></pre>
  
  <p>So, <code>d</code> is the DOM object,</p>
  
  <p>how can I create or convert it into jQuery  object?</p>
  
  <p>e.g.
  <code>$(d)</code> ???</p>
  
  <p>and, how to 'read' all attributes of the jQuery object?  just like the var_dump of PHP. </p>