javascript - Jquery Mobile 的表格没有响应?

标签 javascript jquery html css jquery-mobile

我正在使用来自 jquery 移动网站的简单表格。这是我的页面 html,

    <div data-role="page" id="mainPage">
        <div data-role="content">

            <table data-role="table" id="my-table" data-mode="reflow">
                <thead>
                    <tr>
                        <th>Rank</th>
                        <th>Movie Title</th>
                        <th>Year</th>
                        <th>
                            <abbr title="Rotten Tomato Rating">Rating</abbr></th>
                        <th>Reviews</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <th>1</th>
                        <td><a href="foo.com" data-rel="external">Citizen Kane</a></td>
                        <td>1941</td>
                        <td>100%</td>
                        <td>74</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

但是我的页面看起来很丑。似乎这里没有应用 jquery。 这是屏幕截图, enter image description here

最佳答案

从这里开始, http://forum.jquery.com/topic/where-to-get-jquery-mobile-table-js

The table functionality is only in the unreleased version 1.3.

If you want to test 1.3, you can check it out from GitHub and build it, or else just download the .js and .css files from the online test docs.

As this isn't even beta software yet, I wouldn't use it in production.

关于javascript - Jquery Mobile 的表格没有响应?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14089047/

相关文章:

javascript - 为什么html页面中不显示本地Json文件内容?

javascript - 想在jquery中实现单面翻书动画

javascript - 旋转木马 slider 图像不滑动

html - 如何覆盖表格中的 CSS 样式

javascript - 查询; $().css 无法更新对象的样式

php - 如何使图像看起来像图像背景一样完整

javascript - 将 JS 中 <code> 标签内的换行符替换为 <br>

c# - 如何在 Web 用户控件 ascx 中调用 javascript 函数

Javascript:使用 1 个 Click-Listener 在 2 个功能之间切换

javascript - 我很难弄清楚如何动态设置时间线