$('select').change(function(e) { //something like this if ($(this).attr('AutoPostback') == true) { //do something here } else { //do something else }
认为必须从脚本调用服务器端功能来确定AutoPostback.
所以你可以做类似下面的事情,我没有测试,所以希望没有错别字
$('select[onchange*="__doPostBack("]').change(...your handler for postbacking control...); $('select:not([onchange*="__doPostBack("])').change(...your handler for non-postbacking control...);