Olaf Bosch schrieb:
> Now i must go to works with more textareas in one document.....
oh, oh, i come not to the end, is works fine, but....
Now i have multiple textareas and this works for all :(
I have experiment with .bind and .prev not works for me.
Any ideas?
<script type="text/javascript" src="jquery-latest.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("textarea").after("<p class='resize'>höher</p>");
var HHH = $(".resize").prev("textarea").height();
alert (HHH);
$('.resize').click(function(){
var NHeight = ($("textarea").height()+60)+'px'
$(".resize").prev("textarea").css("height",NHeight).slideDown('slow');
});
});
</script>
</head>
<body>
<div>
<textarea></textarea>
</div>
<div>
<textarea></textarea>
</div>
</body>
</html>
I can not the Textarea give any ID or CLASS, to establish understanding ;)
--
Viele Grüße, Olaf
-------------------------------
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
-------------------------------
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/