微交易-实体系统
微交易-虚拟系统
<div class="system"> <div class="systemt"> <label for="truepan"> <input type="radio" name="weixitong" id="truepan" class="systemChose" / > <span>微交易-实体系统</span> </label> </div> <div class="systemx" style=""> <label for="xunipan"> <input type="radio" name="weixitong" id="xunipan" class="systemChose" / > <span>微交易-虚拟系统</span> </label> </div> </div> <script> $(".systemChose").click(function(event) { /* Act on the event */ if($(this).is(":checked")){ $(".system").find('span').css({ background: '#fff', color: '#999' }); $(this).parent().find('span').css({ background: 'red', color: '#fff' }); } }); </script>