[jQuery] Select td text

2009-04-28 Thread nstar
How can I select the text of the td below with jquery? For example: {code} 8050 Drexel Ct, Lemon Grove, CA 91945 {code} I tried with something like this without much success: {code} var vtd = $(".googledir > table > tbody >tr > td:contains('8050 Drexel Ct, Lemon Grove, CA 91945')").text(); co

[jQuery] Get td string and replace

2009-04-28 Thread nstar
Hi, I would like to select the text of this td and replace with another string. How can that be accomplished? 8050 Drexel Ct, Lemon Grove, CA 91945 I tried with this without any success: var vtd = $(".googledir tr td:contains('8050 Drexel Ct, Lemon Grove, CA 91945')").html('8050 Blossom Lane,