Hi All,

I need to replace the dropdown option values when a different dropdown value is changed.

I am calling the javascript function with onChange successfully, but I'm struggling to make the changes.

Original Code:
Code:
<select
	name="Person"
	id="Person"
	dojoType="dijit.form.FilteringSelect"
>
	<option value="A">Person A</option>
	<option value="B">Person B</option>
	<option value="C">Person C</option>
</select>
Change to Code:
Code:
<select
	name="Person"
	id="Person"
	dojoType="dijit.form.FilteringSelect"
>
	<option value="X">Person X</option>
	<option value="Y">Person Y</option>
	<option value="Z">Person Z</option>
</select>
Note that the new code may have more or fewer option values.

Can someone provide an example please?