textbox issue regarding shrinking first time input text

Posted by picnic4u on Stack Overflow See other posts from Stack Overflow or by picnic4u
Published on 2010-06-03T07:16:34Z Indexed on 2010/06/03 7:24 UTC
Read the original article Hit count: 135

Filed under:

i have a problem regarding the textbox. i have done the textbox auto expandable but when i insert the text first time then the textbox shrink in size from their original size.but my requirement is that when my text is exceeding the text box length then it auto expand. my code is

<script type="text/javascript">
        $(document).ready(function() {
            $('.txtStyle').autogrow();
        });
</script>

pls somebody suggest how ot is possible

© Stack Overflow or respective owner

Related posts about jQuery