title: How can you add data-toggle="dropdown" to an anchor
body: <p>So I have an anchor which looks like</p>
  
  <pre><code>&lt;a href="http://something.com/something/" class="dropdown-toggle"&gt;something&lt;/a&gt;
  </code></pre>
  
  <p>and I want to add</p>
  
  <pre><code>data-toggle="dropdown"
  </code></pre>
  
  <p>so that it ends up looking like</p>
  
  <pre><code>&lt;a href="http://something.com/something/" class="dropdown-toggle" data-toggle="dropdown"&gt;something&lt;/a&gt;
  </code></pre>
  
  <p>I tried</p>
  
  <pre><code>$(".dropdown-toggle").data("toggle", "dropdown");
  </code></pre>
  
  <p>But it isnt adding anything
  cheers</p>