HTML element's value property is giving undefined value

后端 未结 2 2035
一整个雨季
一整个雨季 2021-01-27 11:11

This is totally mysterious. I checked everything, googled everything, but looks like this should work. I\'ve done same things in my code with others html elements and they all g

2条回答
  •  离开以前
    2021-01-27 11:53

    That is because

    elements do not have a value attribute. It is only for a selected subset of elements:
    Default

提交回复
热议问题