jQuery selector for selecting an input field with a class

前端 未结 4 1374
一整个雨季
一整个雨季 2021-02-05 17:05

I have



&l         


        
4条回答
  •  孤独总比滥情好
    2021-02-05 17:57

    If you just add the class to your selector, it should do what you are looking for.

    $('.required:input[type="text"]')
    

提交回复
热议问题