Take the advice of kangax and Richard, To set the selected item of a select box, you use selectedIndex.
There is no better way. Setting the selected attribute on an option is not a reliable means of setting the selected state, not to mention it requires you to "unset" the selected attribute on another option. -justin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
