Hi
I have an xml document with these elements:
<staff>
<employee>
<name>
<fname>Sally</fname>
<lname>Green</lname>
</name>
<department>Sales</department>
<personal>loops who would like some kalenow what to do. </personal>
<id>111</id>
<phone>555-444-1234</phone>
<image>../images/h111.jpg</image>
</employee>
</staff>
and I have to make a drop down:
<form action="" method="get">
<select name="showDept" size="1">
<option value="1">sales</option>
<option value="2">IT</option>
<option value="3">Human Resources</option>
<option value="4">Front Office</option>
</select>
</form>
that when selected will show a list of the people in that department.
I just cannot get off the ground, any help would be appreciated. I was going to do an if statement but javascript doesn't support it.