Kamal_Hi_tek
09-22-2003, 05:01 PM
Hi all, I want to put table on this associate array. At the end of code where it's displaying the left Nav, How could you put those names into table.
thanx
Here's the Code.
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!--
// now start creating the list in the left nav
document.write ("<br><b>Address List</b>");
for (entry in myList) {
document.write ("\n<br><a href='javascript:displayDetail(" + entry + ")'>"
+ myList[entry]['lastName'] + "</a> " +myList[entry]['firstName'] );
}
//-->
</SCRIPT>
thanx
Here's the Code.
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!--
// now start creating the list in the left nav
document.write ("<br><b>Address List</b>");
for (entry in myList) {
document.write ("\n<br><a href='javascript:displayDetail(" + entry + ")'>"
+ myList[entry]['lastName'] + "</a> " +myList[entry]['firstName'] );
}
//-->
</SCRIPT>