title: Data-toggle with Jquery
body: <p>I have a href with a <strong><em>data-toggle</em></strong> and a <strong><em>data-target</em></strong> in there. <strong><em>Onclick is return false</em></strong>. Its on the end of a table and triggers some stuff.</p>
  
  <pre><code>&lt;a href="" onclick="return false;" data-toggle="childrows" data-target="ID"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>Now i want the same thing when the complete table row is clicked and not only the href. So i got a Jquery function, that triggers when the row is clicked.</p>
  
  <pre><code>$("#produkttable tr").click(function() {
                          id = $(this).attr('id');        
                      });
  </code></pre>
  
  <p>Its works so far and I have the table row ID. But now <strong><em>I have no clue how to trigger the data-toggle and data-target.</em></strong> Im quite new to JQuery and need some help.</p>
  
  <p>Thanks guys</p>