title: How to make a condition to see if an href with a certain value was created
body: <p>So I have this code<code>&lt;a href="#original" data-toggle="tab"&gt;&lt;strong&gt;text&lt;/strong&gt;&lt;/a&gt;</code>
  The a href="#original is created when i click a certain button, now my question is how do I make a condition to see if this certain a href was created?</p>
  
  <pre><code>$(document).ready(function() {
      if ($("[attribute$='#original'").length) {
          console.log('test');
      }
  });
  </code></pre>
  
  <p>This is what I made so far.</p>