0

how to using phonegap + cordova 2.7 .I want to go end of the page .I try lot of thing but now work any thing.

var $div = $("#realTimeContents");
$div.scrollTop($div[0].scrollHeight);

secondly

 window.scrollTo(0, document.body.scrollHeight);
4

0 回答 0