jquery mobile table3
RUN
<!DOCTYPE HTML> <html> <head> <title>Tables</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script> <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" /> <style type="text/css"> tr{ border-bottom: solid 1px; } </style> </head> <body> <div data-role="page"> <div role="main" class="ui-content"> <div data-role="header"> <h1>Style Table</h1> </div> <div data-role="main" class="ui-content"> <table data-role="table" data-mode="columntoggle" class="ui-responsive ui-shadow" id="myTable"> <thead> <tr> <th data-priority="6">CustomerID</th> <th>CustomerName</th> <th data-priority="1">ContactName</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>Alfreds Futterkiste</td> <td>Maria Anders</td> </tr> <tr> <td>2</td> <td>Antonio Moreno Taquería</td> <td>Antonio Moreno</td> </tr> <tr> <td>3</td> <td>Around the Horn</td> <td>Thomas Hardy</td> </tr> <tr> <td>4</td> <td>Berglunds snabbköp</td> <td>Christina Berglund</td> </tr> </tbody> </table> </div> </div> </div> </body> </html>
PHÓNG TO