fix fix Sema ÖNER : +90 312 509 40 14 :3032 sema.oner@petlas.com Last $(function() { $("#filter").sb({ ddCtx: function() {return $(this).closest("div"); } }); $('#newYearFilterForm select').change(function(){ $('#newYearFilterForm').submit(); }); var typeid = $('#typeid').val(); if(typeid > 0) { $('ul.newsTypeSelection a').removeClass("current"); $('ul.newsTypeSelection a[rel='+typeid+']').addClass("current"); } });