Re: [jQuery] Error '$this' is undefined

2009-11-10 Thread Joe Moore
$this should be $(this). Hth, Joe On Nov 10, 2009 2:12 PM, "Daybreak0" wrote: Hi all, I have the following html, of which I want to replace the text "Cart" with "My Shopping Bag" (The Veiw Cart text is near the end) Code: 1 item(s), Total: £0.00 View Cart Now I need the ability to actually

Re: [jQuery] Error '$this' is undefined

2009-11-10 Thread Marcel Araujo
just do it Code: $('.cartSummaryLink').val( $*(*this*)*.val().replace('Cart','My Shopping Bag') ); 2009/11/10 Daybreak0 > Hi all, > > I have the following html, of which I want to replace the text "Cart" > with "My Shopping Bag" (The Veiw Cart text is near the end) > > Code: > vertical="Fals

[jQuery] Error '$this' is undefined

2009-11-10 Thread Daybreak0
Hi all, I have the following html, of which I want to replace the text "Cart" with "My Shopping Bag" (The Veiw Cart text is near the end) Code: 1 item(s), Total: £0.00 View Cart Now I need the ability to actually choose the actual text I want to replace, as there is other text, where I can not