enable and disable <select> on <select> change

enable and disable <select> on <select> change

Hi,

I have two <select>s in my PHP website. cboSalary and cboCurrency.

I use a blank value as null for both like this:

  1. <option value="" selected>[Unspecified..]</option>

I want to know how can I enable the cboCurrency only if a value was selected in cboSalary therefore disable the cboCurrency when value in cboSalary was set to blank?


Thanks,