I've got a form with a drop down on it. When the a new item is selected, a bunch of other controls could be enabled or disabled (the onChange event is fired and a method disables or enables these controls).
The contents of the dropdown are automatically populated by a PHP script. The problem I am having is, when I am re-loading the page, the PHP script sets the correct item index in the dropdown, but the onChange event isn't fired, which means the extra controls are not enabled or disabled.
How can I fire th onChange event from with PHP (or anywhere else) after the items have been added the the correct item has been selected?