4 Lip 2008

Ustawienie pola Select i Checkbox

function ustawNazwePozycji(form, fld, name) {
  idx = fld.selectedIndex;
  text = fld.options[idx].text;
  fld_name = form.elements[name];
  fld_name.value = text; 
  form.elements['check_link'].checked = false;
}