Select – Options value
-
Hello,
I want to know if there is a way to add value to the options tag from the select field?
Something like this:
<select data-placeholder="Choisir une assurance" name="myfield1" id="myfield1"> <option value="test1">Test 1</option> <option value="test2">Test 2</option> <option value="test3">Test 3</option> </select>My goal is to use javascript to target and change the selected option.
Thank you in advance
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Select – Options value’ is closed to new replies.