Only the subform appears. If you comment out either of the two, it works separately.
Code: Select all
var dep = $('#obz_dep');
var comp = $('#obz_com');
var dat = new Date().toLocaleDateString();
$("#sub_jurw_if000dep").val(dep.val());
$("#sub_jurw_if000computer").val(comp.val());
$("#sub_jurw_if000jur_wdata").val(dat);
nuShow('sub_jurw_if');
nuShow('but_ok');