search for: record_ohrmarke

Displaying 1 result from an estimated 1 matches for "record_ohrmarke".

2007 Sep 17
1
observe_field and :function
Hi, I m using the observe_field helper with the :function attribute. If I do the following everything it works without any issue: <%= observe_field ''select_gender'', {:function => "(value == ''2'') ? $(''record_ohrmarke'').value = ''a boy'': $(''record_ohrmarke'').value = ''a girl'';"} %> I would like to perform a more complicated processing and I thought it would be nice to do something like that: <script type="text/javascript&quot...