javascript jquery radio button click

前端 未结 6 1190
刺人心
刺人心 2020-12-04 20:23

I have 2 radio buttons and jquery running.

 first


        
6条回答
  •  暖寄归人
    2020-12-04 21:12

    this should be good

    $(document).ready(function() {
        $('input:radio').change(function() {
           alert('ole');
        });
    });
    

提交回复
热议问题