$(function() { $('select[name="mark"]').change(function() { var data = this.name + '=' + this.value; $.ajax({ ..... data: data, ..... }) }) });