[jQuery] Re: How do I keep from focusing a readonly field?

2008-10-28 Thread Ryura
$('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  

[jQuery] Re: How do I keep from focusing a readonly field?

2008-10-28 Thread TimW66
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