jQuery match multiple attributes

前端 未结 2 1001
夕颜
夕颜 2020-12-13 17:31

I have the following markup, and I want to make the All radio button checked.

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-13 18:07

    The following HTML file shows how you can do this:

    
      
        
        
      
      
        
    • All
    • New
    • Removed
    • Updated
    Click here

    When you click on the link, the desired radio button is selected. The important line is the one setting the checked attribute.

提交回复
热议问题