On 12 June 2010 10:37, bill <[email protected]> wrote: > On 6/11/2010 5:07 PM, Walter Lee Davis wrote: > > Yes, but is there only one form on the entire page at any time? That's the > point I was trying to get at here. If you have two inputs with the same ID, > you can call focus() but only the first one with that ID will gain focus. > > Walter > > It is a violation of the spec to have 2 elements with the same ID. IDs are > supposed to be unique in a page. > > bill > > On Jun 11, 2010, at 4:57 PM, Richard Quadling wrote: > > The afterFinish is what I needed. Thanks. > > The form in question has 2 inputs and it is the first one that I want > to get the focus on. > > Thank you. > > I didn't see anything in the scripy docs, but I've probably missed it. > > > > -- > Bill Drescher > william {at} TechServSys {dot} com > > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/prototype-scriptaculous?hl=en. >
The ids are unique. Thanks. -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
