title: How to resize textbox and get dimensions inside div element using jquery
body: <p>I have a div element which can be draggable and I have a textbox inside that div element and when I drag the div element automatically the textbox size should increase along with the div.And I need to get the textbox X and Y positions so how do I do that?</p>
  
  <p>This is what I have now:</p>
  
  <p><a href="http://jsfiddle.net/wWFpP/3/" rel="nofollow">http://jsfiddle.net/wWFpP/3/</a></p>
  
  <p>Here is my ode:</p>
  
  <pre><code>   &lt;div class="demo"&gt;
              &lt;asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine"&gt;&lt;/asp:TextBox&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>This is my script for dragging:</p>
  
  <pre><code>&lt;script&gt;
          $(function () {
              $('.demo')
          .draggable()
          .resizable();
          });
  
      &lt;/script&gt;
  </code></pre>