How to get value of selected radio button in angularjs

后端 未结 6 713
一整个雨季
一整个雨季 2020-12-31 13:23

I have two radio buttons pass and fail.

How to get value of selected radio button.

6条回答
  •  死守一世寂寞
    2020-12-31 13:47

    Here is your javascript

      
    

    and your html

    
        

    {{1+1}}

    Result
    {{change}}

    working demo

    Hope this is what you are looking for.

提交回复
热议问题