Error : Element should have been “select” but was “a”

前端 未结 2 1970
天涯浪人
天涯浪人 2021-01-22 06:22

When i am trying to select an option from dropdown list i am getting the error \"Element should have been \"select\" but was \"a\" \" Below is my source code :

         


        
2条回答
  •  暖寄归人
    2021-01-22 06:58

    The Select class only works with would, it will be rejected.

    The error is telling you this. You are giving it an tag.

提交回复
热议问题