开发者

Javascript scroll does not have effect on Android WebView and browser

I have a WebView in Android. The content displays a html page, but when it tries to execute 开发者_JAVA技巧this script, nothing really happens (the //DO SOMETHING is never invoked):

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script>
$(document).ready(function () {
    $('.mid-table').scroll(function(evt) {
        // DO SOMETHING
        });
});

I tried directly from the browser of the same mobile (Galaxy S), and nothing happens as well.

It works perfectly on IOS or from Firefox, Explorer... , but here it doesn't.

any clue?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜