title: How to add textarea tag as input element in sweet alert using jQuery
body: <p>I don't understand how to add a <code>textarea</code> type 
  in <code>sweet</code> alert.
  Similar to <strong><code>type: "input"</code></strong></p>
  
  <pre><code>$('#saveBtn).click(function(){
      swal({   
          title: "Enter your Name!",  
          text: "your name:",  
          type: "input",   
          showCancelButton: true,   
          closeOnConfirm: false, 
          showLoaderOnConfirm: true,
          animation: "slide-from-top",   
          inputPlaceholder: "Write something" }, 
          function(inputValue){  
               if (inputValue === false) 
                   return false;    
               if (inputValue === "") {
                  swal.showInputError("You need to write something!");  
                  return false
                  }
              swal("Nice!", "You wrote: " + inputValue, "success"); 
           });
  });
  </code></pre>
  
  <p>This works fine. But if I use  <strong><code>type: "textarea"</code></strong> instead of <strong><code>type: "input"</code></strong></p>
  
  <p>This gives error like this:</p>
  
  <pre><code>sweetalert.min.js:1 Uncaught ReferenceError: logStr is not defined
  </code></pre>
  
  <p>Thanks for help.</p>