阅读背景:

第二次调用Ajax获得第一个结果Allways

来源:互联网 

I Using this code

我使用这段代码

<script type="text/javascript">
$(function() {
    $('#DoTask').click(function(event) {
        event.preventDefault(); // added this
        $.getJSON('/TareasBackGround/DoTaskInteractivo', null,
                function(response) {
                    $('#ResultadoEjecutarTarea').html("<br />Resutado:" + response.result);
                    $('#ResultadoEjecutarTarea').css("style", "");


                });
    });
});
<script type="tex



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: