Displaying 1 result from an estimated 1 matches for "airlinemembership".
2007 Oct 08
1
onblur to work with select
I need a method to be called upon an ''onblur'' event when a select list
is no longer the focus - ideally, I would like it to work when the
''Enter'' key is hit. But, I am just trying to get the onblur to work,
here is what I got:
<%= select( "airlinemembership", "membership", Airline.find( :all,
:order =>
''name'' ).collect { |a| [a.name.downcase.capitalize, a.id]},
{:update => ''exclude_1''}, {:onblur => ''set_exclude_airline_1''} ) %>
Any ideas on how I can get th...