It depends how your are generating the form and what the criteria is for disabling certain options. If you are using a scripting language such as PHP, it would probably be best to have the PHP handle the options for the select. Otherwise, if it is a static HTML page I'm pretty sure Javascript can be used to remove options.
I'd say your best bet is to check out what Javascript can do in regards to manipulating selects.