title: jquery .addType()
body: <p>Is there a .addType() function for jquery? I know there's a .addClass() to add the class, but I'm appending an input element to a div using the shorthand way and was wondering if there is a .addType() to add the type to the input area i.e text, password, submit.</p>
  
  <pre><code>$(document).ready(function(){
    $("#newnum").click(function(){
      $("#equation").append(
        $("&lt;input/&gt;")
      );
    });
  });
  </code></pre>