Now I see you John Resig. I feel honored talk with you. Congratulations and tanks for all.
Regards Mario 2007/5/9, Mario Moura <[EMAIL PROTECTED]>:
Ok I found here: http://www.visualjquery.com attr(key, value) ---> Example But fortunately I found my mistake: Will work like this $($("#myid//img").get(0)).attr("title", $($('#myid/.markup02/div/.field-item').siblings().get(0)).text()); Without ${...} Regards Mario 2007/5/9, John Resig <[EMAIL PROTECTED]>: > > > Mario - > > ${...} doesn't, currently, exist in jQuery. Did you find an example > somewhere that showed it as working? (It needs to be fixed.) > > --John > > On 5/9/07, Mario Moura < [EMAIL PROTECTED]> wrote: > > Hi Folks > > > > I am trying $("img").attr("title", "${this.src}"); > > > > So : > > > > $("img").attr("title", > > > "${$($('#myid/.markup02/div/.field-item').siblings().get(1)).text()}"); > > > > If I insert my function > > $($('#myid/.markup02/div/.field-item').siblings().get(1)).text() > > in firebug console I receive "my target text" > > > > but when I try insert into $("img").attr("title", "${...} I receive > full > > expression "$($('#myid...text()" > > > > What is missing? > > > > Mario > -- Mário Alberto Chaves Moura [EMAIL PROTECTED] 31-9157-6000
-- Mário Alberto Chaves Moura [EMAIL PROTECTED] 31-9157-6000