title: textArea inside jquery dialog box
body: <p>How can i create a <strong>text area</strong> inside a dialog box and that text area should be mandatory field created using jQuery UI. Below is the code through which i am creating submit and close buttons on the dialog box, but could not able to create text area which should be mandatory field when the user click on submit button through that code.Please suggest. Please find the working sample <a href="http://jsfiddle.net/M4QM6/34/" rel="nofollow">http://jsfiddle.net/M4QM6/34/</a> .</p>
  
  <pre><code>    function showDialog1(){
          $("#dialog").html("");
          $("#dialog").dialog("option", "title", "Loading....").dialog("open");
          $("span.ui-dialog-title").text('title here'); 
          $("#dialog").dialog({
              autoOpen: false,
              resizable: true,
              width:"350",
              height:300,
              modal: true,
              buttons: {
                  "Submit": function() {
                      $(this).dialog("close");
                  }
              }
          });
      }
  </code></pre>
  
  <p>Thanks.</p>