title: Are DOM elements objects?
body: <p>I am getting the following in the developer console.</p>
  
  <pre><code>&lt;img src="http://localhost/baazar_search/public/assets/uploads/images/logo/f5257d77-75c3-426b-867a-8dea600f7345.jpg" draggable="false" style="position: absolute; left: 0px; top: 0px; width: 50px; height: 50px; -webkit-user-select: none; border: 0px; padding: 0px; margin: 0px; max-width: none; opacity: 1;"&gt;
  </code></pre>
  
  <p>The type of is of above is showing <code>OBJECT</code>. I want to apply method addClass() to above image element. How to convert this object to DOM element.</p>
  
  <p>Script is-</p>
  
  <pre><code>    for (k = 0; k &lt; offerCode.length; k++)
      {
          console.log(offerCode[k]);
          console.log(typeof offerCode[k]);
      }
  
  var offerCode = $("#markerLayer").find("[src='" + requiredImage + "']");
  </code></pre>