Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Auto-expand Window Height

Although textareas are expandable, the client wants a link so that, when a textarea holds a large amount of content, they can select a button and pull the field up in a modal. I am using the API and inline style to do that. the problem is, I need the window to be able to expand to the height of the text. Is there any way to do that?


(using a FontAwesome link
<i class="fa fa-external-link" onClick="ExpandText('Commodities')"></i>
<textarea name="Commodities" id="Commodities" cols="101" rows="3"></textarea>


   function ExpandText(TextData)
   {{ url: TextData, type: 'inline' }); 
Sign In or Register to comment.