R
Robert L.
Hi,
I'm trying to make a small software on my web page.
<html>
<head><title><% Res 30 %></title>
<SCRIPT LANGUAGE="JavaScript" SRC="DynList.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
var listB = New DynamicOptionList("B","A");
var listC = New DynamicOptionList("C","A","B");
........
</script>
<SELECT NAME="B" LANGUAGE="JavaScript" onChange="listC.populate();">
<SCRIPT LANGUAGE="JavaScript">listB.printOptions()</SCRIPT>
</SELECT>
......
1- There's an error telling me i'm missing a ";" on this line
(listB.printOptions() ). If put a ; before and/or after this call, it tell
me the same thing. Is it possible that the error is inside this function?
2- listB is undefined. Why? It's a global var.
I'm trying to make a small software on my web page.
<html>
<head><title><% Res 30 %></title>
<SCRIPT LANGUAGE="JavaScript" SRC="DynList.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
var listB = New DynamicOptionList("B","A");
var listC = New DynamicOptionList("C","A","B");
........
</script>
<SELECT NAME="B" LANGUAGE="JavaScript" onChange="listC.populate();">
<SCRIPT LANGUAGE="JavaScript">listB.printOptions()</SCRIPT>
</SELECT>
......
1- There's an error telling me i'm missing a ";" on this line
(listB.printOptions() ). If put a ; before and/or after this call, it tell
me the same thing. Is it possible that the error is inside this function?
2- listB is undefined. Why? It's a global var.