1z4hdDnjSwqkukN6VuSFjfmA9Zj29YHWc (25395) ·
<option selected>
1HSjHJ1vidAbjhRiUqRvgzs8ZDpUL7sCcr (1034) ·
How do I define that the selected option will be "good" in the above code example?
I have seen online that I can say value="good" and selected="selected" but that doesn't quite work.
Exactly how would it be written in the above example?
1z4hdDnjSwqkukN6VuSFjfmA9Zj29YHWc (25395) ·
<option selected value="good">
1CgkV3oFvjYSqqCZvtt68rqVMNTtrCb3on (1034) ·
Okay I’ll give it a go.
That should fit well with the code snippet which is attached above?
Because the values which are displayed (poor, fair, & good) aren’t directly visible in the code but liked from somewhere else.
Anyway, will try it out! 👍
1z4hdDnjSwqkukN6VuSFjfmA9Zj29YHWc (25395) ·
Should look something like this
<select value="rating">
<option value="poor">Poor</option>
<option value="fair">Fair</option>
<option selected value="good">Good</option>
</select>
1CgkV3oFvjYSqqCZvtt68rqVMNTtrCb3on (1034) ·
Will pop it in in the morning. 👌🤞