Olaf Bosch schreef:
> Hello @ all,
> this works not for me, what to do?
>
> <script type="text/javascript" src="jquery-latest.js"></script>
> <script type="text/javascript">
> $(document).ready(function() {
>   var THeight = $("textarea").height();
>   var Diff = 40;
> $('.resize').click(function(){
>   NHeight = (THeight + Diff);
>   NHeight = (NHeight+"px")
>   alert (NHeight);
> $('textarea').css("height","NHeight").slideDown('slow');
> });
> });
> </script>
> </head>
> <body>
> <textarea></textarea>
> <a href="#" class="resize">höher</a>
> </body>
> </html>
>
> NHeight is set the correct Height, see alert, the CSS works not :(
>
> Thanks,
>   
have you tried $('textarea').css("height",NHeight).slideDown('slow');

-- 
David Duymelinck
________________
[EMAIL PROTECTED]


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to