R
rebeccatre
Hi, so I can learn how to master, how do I access a select like this
using javascript??
<SELECT name="myselect">
<OPTION value="73822">Green
<OPTION value="38147">Blue
<OPTION value="67289">Purple
<OPTION value="57282">Red
</SELECT>
I want to,
1) change Blue value from '38147' to '38150'
2) change Purple label to Orange
3) change Red value from "57282" to "57300" and also change Red label
to Pink (can be done all on 1 line?)
Can someone help me with these examples? I am doing some more complex
db stuff around it, but this will be helpful to get me rolling.
Thank you! Have a great day -- I appreciate it!
using javascript??
<SELECT name="myselect">
<OPTION value="73822">Green
<OPTION value="38147">Blue
<OPTION value="67289">Purple
<OPTION value="57282">Red
</SELECT>
I want to,
1) change Blue value from '38147' to '38150'
2) change Purple label to Orange
3) change Red value from "57282" to "57300" and also change Red label
to Pink (can be done all on 1 line?)
Can someone help me with these examples? I am doing some more complex
db stuff around it, but this will be helpful to get me rolling.
Thank you! Have a great day -- I appreciate it!