search for: handle_gender_change

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

2007 Sep 17
1
observe_field and :function
...ue = ''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"> function handle_gender_change(element, value) { (value == ''2'') ? $(''record_ohrmarke'').value = ''ein Maedchen'': $(''record_ohrmarke'').value = ''ein Bub''; }; </script> ..... .... <%= observe_field ''select_...