> You are setting a DOM property that is case sensitive, try: > > test.tabIndex = '0';
I can´t believe it - how simple can a solution be? Thanks! > The tabindex attribute is not valid for a span element, the only elements that have a focus method are: select, input, textarea and anchor That´s right, it´s not compliant to the current standards. But sometimes it is neccessary to focus more than the standard-elements - e.g.: if you are developing Rich Internet Applications. I refer to http://www.w3.org/TR/2007/WD-aria-state-20071019/#tabindex_added --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
