title: How to open a model on click of an anchor tag?
body: <p>I'm trying to display a modal on the click of an anchor tag. 
  I have dynamically created anchor tags (within a table and divs), on click of which a modal should be displayed...</p>
  
  <pre><code>&lt;a href = "#close" class='forum-title' name = "abc"&gt;XYZ&lt;/a&gt;
  </code></pre>
  
  <p>I've given the "#close" randomly (to prevent it from throwing an error..guessing it's(href) not imp in this case...)</p>
  
  <p>I have given a simple function on the click function of the anchor tag :</p>
  
  <pre><code>function openModal() {
              $('#usermodal').modal('show');
                }
  </code></pre>
  
  <p>Please check my <strong>JSFiddle :</strong> <a href="http://jsfiddle.net/AshleyR098/xaqtawog/623/" rel="nofollow noreferrer">http://jsfiddle.net/AshleyR098/xaqtawog/623/</a></p>
  
  <p>UPDATE :</p>
  
  <p><strong>JSFiddle :</strong> <a href="http://jsfiddle.net/AshleyR098/xaqtawog/628" rel="nofollow noreferrer">http://jsfiddle.net/AshleyR098/xaqtawog/628</a> </p>
  
  <p>-Had given wrong ID to the modal div, tried giving onclick on the anchor tag...Still, no go...</p>