Often adding the entire select box is more than is needed to handle the job. Still using our previous recipe, let us just replace the option list of the existing SELECT element instead of adding the entire element.
This recipe is an extension of the previous recipe. Prepare for a simple twist that makes it easier to handle.
FORM with a
SELECT element. Use Ajax to call in new
OPTION elements and inject them inside the