title: name a button javascript
body: <p>well guys i need to know how give a button a name like dont paye attention to the link it's not that necessary:</p>
  
  <pre><code>&lt;button class="btn btn-success pull-right" name="next"&gt;Suivant&lt;/button&gt;
  </code></pre>
  
  <p>here what i did in javascript but i need to add the attribute "name" with value "next" in "q" button</p>
  
  <pre><code>    function(a){a.fn.smartWizard=function(m){var c=a.extend({},a.fn.smartWizard.defaults,m),x=arguments;
      return this.each(function(){function C(){var e=b.children("div");
          b.children("ul").addClass("anchor");
          e.addClass("content");
          n=a("&lt;div&gt;Loading&lt;/div&gt;").addClass("loader");
          k=a("&lt;div&gt;&lt;/div&gt;").addClass("actionBar");
          p=a("&lt;div&gt;&lt;/div&gt;").addClass("stepContainer");
          q=a("&lt;a&gt;"+c.labelNext+"&lt;/a&gt;").attr("href","#").addClass("btn btn-default pull-right");
          r=a("&lt;a&gt;"+c.labelPrevious+"&lt;/a&gt;").attr("href","#").addClass("btn btn-default pull-left");
  s=a("&lt;a&gt;"+c.labelFinish+"&lt;/a&gt;").attr("href","#").addClass("btn btn-success pull-right");
  c.errorSteps&amp;&amp;0&lt;c.errorSteps.length&amp;&amp;a.each(c.errorSteps,function(a,b){y(b,!0)});
  p.append(e);
  k.append(n);
  b.append(p);
  b.append(k);
  c.includeFinishButton&amp;&amp;k.append(s);
  k.append(q).append(r);
  </code></pre>