Well I tried:

$("#myTable tr:eq(4) td:eq(3)").html = "new text";

and, while it gave no error, it also produced no result.

Any other ideas?

JAS

On Feb 2, 5:15 pm, ksun <kavi.sunda...@gmail.com> wrote:
> try $("#myTable tr:eq(4) td:eq(1)").html() for the 5th row and 2nd
> column
>
> On Feb 2, 5:46 am, JAS <james.sch...@gmail.com> wrote:
>
> > I am (very) new to jQuery, and I have what I think must be a simple
> > question.
>
> > Without jQuery, I would write:
>
> > var oCell = document.getElementById('myTable').rows[5].cells
> > [2].innerHTML = "something new";
>
> > but I do not understand how to write this same line in jQuery.
>
> > Thanks to anyone who can help.
>
> > JAS

Reply via email to