---
title: "unable to resize textarea based on resizing a div"  
description: "unable to resize textarea based on resizing a div"  
author: "Anonymous User"  
published: 2013-05-09  
updated: 2013-05-09  
canonical: https://www.mindstick.com/forum/848/unable-to-resize-textarea-based-on-resizing-a-div  
category: "css-css3"  
tags: ["css-css3"]  
reading_time: 1 minute  

---

# unable to resize textarea based on resizing a div

Hi All!\
I want to resized [textbox](https://www.mindstick.com/forum/12714/dynamic-textbox-in-gridview) with the help of css and jquery. How it is possible. \
My line of code as following. \
<[textarea](https://www.mindstick.com/forum/155821/how-we-will-generate-textarea-control-using-htmlhelper-in-razor-view) name="quotes" id="resizeable" cols="40" rows="10" ></textarea>\
I want to resize it from a div just below of the textaea.\
<div id="grippie" [style](https://www.mindstick.com/articles/126300/apa-citation-style-get-to-know-about-it-for-your-next-assignment)="[margin](https://answers.mindstick.com/qa/104990/what-is-a-margin-call)-[right](https://www.mindstick.com/articles/12766/check-whether-you-are-doing-digital-transformation-right-or-not): 0px;[cursor](https://www.mindstick.com/articles/13003/create-a-simple-cursor-in-sql-server): n-resize;">-----------------------------</div>\
I tried the following [script](https://www.mindstick.com/interview/477/how-can-i-execute-a-php-script-using-command-line) but its not resizing. What could be the reason? Please help me to [solve this issue](https://answers.mindstick.com/qa/95726/i-am-getting-we-re-working-on-setting-you-up-on-my-google-adsense-for-a-very-long-time-how-should-i-solve-this-issue).\
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <script> $([function](https://www.mindstick.com/articles/13001/multi-statement-table-valued-user-defined-function-in-sql-server)() { $( "#grippie" ).resizable({ alsoResize: "#resizeable" }); $( "#resizeable" ).resizable(); }); </script>\
Thanks in [advance](https://www.mindstick.com/blog/33258/jee-mains-and-jee-advance-exams)!

## Replies

### Reply by AVADHESH PATEL

Hi Ezra!\
replace you jquery from following code\
$('#resizable').resizable({ handles: { s: $('.ui-resizable-s') }, alsoResize: $('textarea')});


---

Original Source: https://www.mindstick.com/forum/848/unable-to-resize-textarea-based-on-resizing-a-div

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
