Jautājums - kādēļ netiek izsauktas funkcijas calculate() un load_dat(fd)??
Pārējais kods izpildās normāli. Ja šīs f-jas izpilda pirms pareja koda, tad tās izsaucas....
Kā pareizi izsaukt šīs f-jas?
function load(fy,fm,fd,ty,tm,td) {
var i=0;
if(document.form1.from_y.options[0].text == fy) {
document.form1.from_y.selectedIndex = 0; }
if(document.form1.from_y.options[1].text == fy) {
document.form1.from_y.selectedIndex = 1; }
for(i=0;i<13;i++) {
if(document.form1.from_m.options.text == fm) {
document.form1.from_m.selectedIndex = i; } }
calculate();
load_dat(fd);
}