Okay, I've made changes but I still cannot acheive my objective of selecting business type and State from dropdowns to get a $ fee in a text field. I also have a add to list and remove button. here is my code:
<form id="form1" method="post" action="">
<p>
<select name="parent" size="1" id="parent" onchange="WA_FilterAndPopulateSubList(Child_WAJA,MM_findObj('parent'),MM_findObj('child'),0,0,false,': ')">
<?php
do {
?>
<option value="<?php echo $row_Parent['ParentID']?>"><?php echo $row_Parent['BusinessEntity']?></option>
<?php
} while ($row_Parent = mysql_fetch_assoc($Parent));
$rows = mysql_num_rows($Parent);
if($rows > 0) {
mysql_data_seek($Parent, 0);
$row_Parent = mysql_fetch_assoc($Parent);
}
?>
</select>
<select name="child" size="1" id="child">
</select>
<select name="target" size="1" id="target">
</select>
<input name="add" type="button" id="add" onclick="WA_AddSubToSelected(MM_findObj('child'),MM_findObj('target'),false,false,false,0,0,'0','')" value="Add to List" />
<input name="remove" type="button" id="remove" onclick="WA_RemoveSelectedFromList(MM_findObj('target'),'|WA|0|WA|',-1,'0','None Selected')" value="Remove" />
</p>
</form>
<p