I have a <select> field.
<select name="select-states" disabled="disabled"><option value="">Choose State »</option></select>
I would like to replace just the <option> inside the <select> with the response received from Ajax Script which contains multiple elements.
I would like to know the selector for selecting <option> which is a child of <select name = "select-states"> without using the id attribute?
to get all options
to get selected option
to replace its options with ajax response