I have attached an observe_field to a select box in one of my views in
order to trigger a function when the user selects a new item.
The problem is that I can not seem to be able to convince it by any
means to call the function only when a new item is really chosen (and
not just hovering over it).
I have tried to hook on every kind of event with the :on => ‘blabla’
option, but no matter what I have used, the function is called also when
I am hovering over an item but not actually selecting it. Is it possible
to achieve this at all? (I am sure it is but I am a bit frustrated after
all this googling around
Any ideas? Thanks a million.