How do I make sure item 0 is selected in:
<%= select("channelnotes", "channelnotes", Channelnote.find
(:all, :order => 'tstamp DESC', :limit =>3, :conditions =>
["deleted=0"]).collect {|p| [ p.note, p.note]}, { :include_blank =>
true},{:onKeyDown => "fnKeyDownHandler(this, event);", :onKeyUp =>
"fnKeyUpHandler_A(this, event); return false;", :onKeyPress => "return
fnKeyPressHandler_A(this, event);", :onChange => "fnChangeHandler_A
(this, event);", :style => "width:350px;",:id=> "channelnotes"}) %>
Thanks, RVince
--~--~---------~--~----~------------~-------~--~----~
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 [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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---