dongyang1518 2011-07-14 06:13
浏览 10
已采纳

通过ajax获取数据

I am using Translate Google. the page I am using $.ajax to get data. Now when the page with a Google translation of the text that I've been with $.ajaxdoes not translate. When I get the view source browser does not show any text in the text are normally head.

HTML

<div id="holdershortabout"></div>

Script

$.ajax({ url: "Allcammand.aspx?cmd=GetProperty",
                async: false ,
                   success: function(response){
                           $("#holder").html(response);                                                                           
                    },
                    error:function(){}
            });

this code is run success and show data in holder but when click on view/PageSource in browser does not show any text in holder?????

  • 写回答

1条回答 默认 最新

  • douren9077 2011-07-14 06:16
    关注

    Page source wont contain dynamic data. Means data manipulated by javascript. See it through firebug to see the content.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?