title: Find all elements having attribute
body: <p>I need to find all the <code>path</code> elements in the drawn SVG with an attribute <code>marker-end</code>.</p>
  
  <p>I tried:</p>
  
  <pre><code>$('path').attr("marker-end") // Returns undefined
  $('path').prop("marker-end") // Returns undefined
  </code></pre>
  
  <p><strong>Update</strong></p>
  
  <p>Also <code>path</code> element <code>not</code> having the given attribute.</p>
  
  <p><strong>Update 2</strong></p>
  
  <p>ok, got <code>$('path:not([marker-end])')</code></p>