Solved my own issue.
Here's what I've found...
- new.html.erb -
<tr>
<td>
<%= f.label

roject_department,'Project Department',{:tabIndex =>
2}%>
</td>
<td>
<%= f.select

roject_department,
[['Please select...',''], ['BRIC', 'BRIC'],['OCR','OCR']] %>
</td>
</tr>
Instead of setting the tabIndex in the select, I set it in the label.
This works fine in FireFox. I've found that using Safari the tabIndex
issue never occurs. My next step is to test it in IE.
Hope this helps someone with the same problem.
John
John Mcleod wrote:
Quote:
Hello all,
Maybe this is something easy to solve but I can set all my text_field
tabIndex by { :tabIndex => '2'}. When I try to do the same for the
select or the textarea it doesn't work. Is there something I'm missing?
Thank you.
John |
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---