title: How to Add class to all images inside div using jQuery?
body: <p>Inside div I am dynamically loading inner text and it also contains <code>img</code> tags. After rendering dynamically I want to add class to all images present insdie that div.</p>
  
  <p>I have tried this but its not working for me. </p>
  
  <p><code>src</code> of every <code>img</code> tag inside div is starting from <code>data:image</code></p>
  
  <pre><code>function loadDiv() {
  
           // loading successfully div elements
  
            $("img[src*=data:image]").addClass("img-responsive");
  
  
       }
  </code></pre>