Subversion Repositories wimsdev

Rev

Rev 13085 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13085 Rev 13099
Line 25... Line 25...
25
 
25
 
26
/**** toggle_select_options ***
26
/**** toggle_select_options ***
27
  Automatically display defined DOM elements according to matching_dict
27
  Automatically display defined DOM elements according to matching_dict
28
  matching_dict is an associative array like this :
28
  matching_dict is an associative array like this :
29
  {
29
  {
30
    "value1" : "DOM_element1",
30
    "value1" : "#DOM_ID_element1",
31
    "value2" : "DOM_element2",
31
    "value2" : ".DOM_class_elements",
32
    ...
32
    ...
33
  }
33
  }
34
 
34
 
35
*/
35
*/
36
function toggle_select_options(selectElem, matching_dict={}){
36
function toggle_select_options(selectElem, matching_dict={}){