On Fri, Oct 9, 2009 at 11:28 AM, Chuk <violinssoundc...@gmail.com> wrote:
>
> Okay.  So I'll tack the digits onto the end.  So that it will be
> Account1, etc.  The main thing I think I need is how to retrieve the
> id of an element once I know its class.  Thanks.
>
>

I would do:

$('.clicked').parent('tr').attr('id');

But I think I'd set the 'clicked' class on the entire row, instead of
the 1st TD.

When you set the #journalCode value, you're only setting it to the
string, "Journal1" (for example). Is that correct? Or, do you actually
want to set it to the contents of some TD in that row?

Reply via email to