If you are looking to add or remove options from a select box dynamically, using add and remove methods on select element is the most reliable way. For gory details have a look here:
Becoming a Freelancer as a Finance Professional
5 years ago