0
<form> <input type="checkbox" class="test" /> <select class="test2"> <option value="0"></option> <option value="1">1</option> <option value="2">></option> </select> </form> <script type="text/javascript"> //<![CDATA[ $(function() { $('.test').click(function(){ alert("alors ? " + $('.test').is(':checked') ); $('.test2').val(1); }); }); //]]> </script>
DATE 12 Jan 2012