In a form, I need to observe a value in ahidden field (this value is
calculated by a javascript function and written in a hidden field)
the value is calculated … written (I can display it …) but no change
is detected by my observer…
why ? how can detect it ?
here is my partial .rhtml view
# result
<%= booking_date(@booking.start_at) %> #
link calling the function
<%= observe_field (‘startdate’, :url => {:action =>
‘startdate_selected’}, :with => “‘id=’+value”) -%>
thansk for your help