Thank you! Problem solved.
On Jul 2, 5:41 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote:
> $(".highest-rated td.rating").each(function() {
> var rating = $(this).text();
> $(this).html('');
>
> });
>
> - Richard
>
> On Wed, Jul 2, 2008 at 11:02 AM, P <[EMAIL PROTECTED]> wrote:
>
> > I have a table that looks like this:
>
> > --
>
> >
> >
> >
> > Lorem ipsum
> > Audio
> > 3
> >
> >
> > Foo
> > Video
> > 2
> >
> >
> > Bar
> > Video
> > 2
> >
> >
> > Hello world
> > Audio
> > 1
> >
> >
> >
>
> > --
>
> > With a little jquery magic I would like to modify the text of the
> > rating cell and have it display an image.
> > This should be the outcome:
>
> > --
>
> >
> >
> >
> > Lorem ipsum
> > Audio
> >
> >
> >
> > Foo
> > Video
> >
> >
> >
> > Bar
> > Video
> >
> >
> >
> > Hello world
> > Audio
> >
> >
> >
> >
>
> > --
>
> > The number of table rows may vary on different pages.
> > How should I do this...?
>
> > Regards,
> > Per