The first list box is working now, but the 2nd is not.
<body onload="WA_FilterAndPopulateSubList(Recordset2_WAJA,MM_findObj('pdfCatID'),MM_findObj('pdfSubCatID'),0,0,false,': ');WA_setSelectionsInChildList(MM_findObj('pdfSubCatID'),<?php echo $row_WADApdfarticles['pdfSubCatID']; ?>)">
My 2nd listbox includes the following:
<select id="pdfSubCatID" name="pdfSubCatID" onchange="pdfCatID_reload(this)">
<?php
do {
?><option value="<?php echo $row_Recordset2['pdfSubCatID']?>"><?php echo $row_Recordset2['pdfSubCatName']?></option>
<?php
} while ($row_Recordset2 = mysql_fetch_assoc($Recordset2));
$rows = mysql_num_rows($Recordset2);
if($rows > 0) {
mysql_data_seek($Recordset2, 0);
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
}
?>
</select>
Thanks!