[Javascript] new Option()에 대한 설명.
OBJECT: Option new Option([text[, value[, defaultSelected[, selected]]]]) An Option object is created for every option in a selection list, and is put in the options property of the Select object. It can be created in one of two ways: you can either use the HTML tag, or use the Option constructor. Using HTML you could create a 'Dachshund' option for a selection list of dog breeds as follows: Cod..