$("селект").change(function () { getZakaz(this.form); });
<script type="text/javascript" src="http://yandex.st/jquery/1.4.4/jquery.min.js"></script> <style> a{ border: 1px solid red; margin-left:3px; cursor:pointer; } a.asd{ border: 2px solid blue; } </style> <br> <form> <a>20 sec</a><a>25 sec</a><a>30 sec</a> <select name="timer" autocomplete="off" onChange="SetSEL();getZakaz(this.form)" tabindex="5" style="width:225px;"> <option value="0" selected="selected">20 секунд</option> <option value="1">25 секунд(+4 WMR)</option> <option value="2">30 секунд(+8 WMR)</option> <option value="3">35 секунд(+12 WMR)</option> <option value="4">40 секунд(+16 WMR)</option> </select> </form> <script type="text/javascript"> function SetSEL(){ $("a").removeClass("asd") var ind = $("select option:selected").val() $("a").eq(ind).addClass("asd"); } $( function() { SetSEL() $("select option[value=0]").attr('selected', 'selected'); $("form a").click(function(){ $("a").removeClass("asd") $("select option[value='"+$(this).index()+"']").attr('selected', 'selected'); $(this).addClass("asd") }); }); </script>