Olaf Bosch schrieb:
> Hi, thank you all for 1.1
> 
> i begin to testing, this works in 1.0.4
> 
> $(document).ready(function() {
>   $('textarea').each(function(i) {
>   $(this).id('area_'+i).after('<span 
> id="gro_'+i+'">gr&ouml;&szlig;er<\/span>');
>   });
> 
> FireBug say "$(this).id is not a function"
> 
> What is to do?

First of all *before* switching to a new/massively changed API read the 
changelog/blog post[1].

Afterwards you will know that most of the helper methods have been wiped 
away ;-)

Try:
$(this).attr('id', 'area_'+i)


[1] http://jquery.com/blog/2007/01/08/jquery-11a/


-- Klaus



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to