
如果您的方法不带参数,则不要在ajax调用中指定data属性
<script> $(function () { $.ajax({ url: 'WebService.asmx/getList', type: 'POST', dataType: 'json', //make sure your service is actually returning json here contentType: 'application/json', success: function (data, status) { //here data is whatever your WebService.asmx/getList returned //populate your dropdown here with your $.each w/e } }); });</script>同样,我可能是错的,但是您显示的WebService方法看起来不会返回json。我认为您将必须序列化或设置内容类型或类似内容。(自从我使用了asmx类型的服务以来,随着时间的流逝)