title: jquery - select images - than copy selected images "href" elements
body: <p>My page loads a lot of images in the next format: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;a class="something" href="1.html"&gt;
       &lt;div class="something"&gt;
          &lt;img alt="name" src="https://www.homepage.com/.1.jpg"/&gt;
       &lt;/div&gt;
  &lt;/a&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>How can I select, with jQuery, the images I want, and after clicking the "copy" button force it to copy the <code>href</code> attributes from all selected images together to clipboard, or to an input box in format:</p>
  
  <pre><code>http://www.homepage.com/1.html
  http://www.homepage.com/7.html
  http://www.homepage.com/15.html
  http://www.homepage.com/21.html
  </code></pre>
  
  <p>Depending on which images I select.</p>
  
  <p>Thank you, and sorry for bad English.</p>