$('tbodytr:last-childtd:not(.readonly):first-
childinput').focus().select();
On Oct 28, 7:07 pm, TimW66 [EMAIL PROTECTED] wrote:
Hi all,
I have a table that I will usually want to focus the first input box
in the first column in the last row. Something like this:
table
tbody
Thank you! Of course, it makes sense. I guess I was caught up on the
readonly attribute of the input box, not thinking about it as a class
for the TD. One minor problem, I had to use :first instead of
:first-child (didn't focus anything). But it works!
On Oct 28, 6:26 pm, Ryura [EMAIL
2 matches
Mail list logo