I thought that adding a "value" attribute set on the element below would cause the containing my provided "value" to be selected by default:
However, this did not work as I had expected. How can I set which element is selected by default?
Answer
Set selected="selected" for the option you want to be the default.
No comments:
Post a Comment