diff --git a/apps/maarch_entreprise/js/functions.js b/apps/maarch_entreprise/js/functions.js
index 5217b870fc6e82212694182dbf5e2f9da4c770c0..26075086764a6b8a833afe8a8b6649ee73557763 100755
--- a/apps/maarch_entreprise/js/functions.js
+++ b/apps/maarch_entreprise/js/functions.js
@@ -252,7 +252,7 @@ var initList_hidden_input_before = function (idField, idList, theUrlToListScript
                 return entry + "&"+previous_name+"=" + $j("#"+previous_field).val(); 
             },
             afterUpdateElement: function (text, li){
-                $j("#"+new_value).value = li.id;
+                $j("#"+new_value).val(li.id);
             }
         });
 };