title: How to create a button with function parameter?
body: <p>I want to create a button by using function below, example createGetInfo(120,Test,1) I want the result become a 'Test' button with 120 width but the function below fail, How can I put the parameter inside the button tag?</p>
  
  <pre><code>function createGetInfo(size,wording,filter) {
      var GetInfo = $("&lt;button class='eqGroupBtn' type='button' class='btn' style='width:size'&gt;wording&lt;/button&gt;");
      secondLevelMenuDiv.append(GetInfo);
      GetInfo.click(function(){
          Do something...
      });
  };
  </code></pre>