Hello, a quick guess:
change this line: $('textarea').css("height","NHeight").slideDown('slow'); To $('textarea').css("height", NHeight).slideDown('slow'); (Note the missing quotes) Marc Olaf Bosch schrieb: > 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, > -- ___________________________ terrestris GbR Marc Jansen Siemensstr. 8 D-53121 Bonn T: ++49 (0)228 - 962 899 54 F: ++49 (0)228 - 962 899 57 Email: [EMAIL PROTECTED] Internet: www.terrestris.de ___________________________ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/