开发者

Problem with javascript in Blackberry (OS 4.6) native browser

When call to this ajax function is repeated a second time, response is appended (not replaced), to info id. This occu开发者_Python百科rs both when I use innerHTML and XUI shortcut function. Code works properly on IE and Mozilla desktop.

 function ajax_call()
 {
    var full_date = document.getElementById('from_date').value;             
    x$('#status').xhr('myPgm.pgm?userid=/%userid%/&calDate=' +full_date,
    function(){                 
        //document.getElementById('info').innerHTML = this.responseText;
        x$('#info').html(this.responseText);                
     }
   ); 
}


What does ajax call return? Is that doubled up?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜