dialog-load-test.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>jQuery Mobile Init Test Suite</title>
  6. <script src="../../../jquery.js"></script>
  7. <script src="../jquery.setNameSpace.js"></script>
  8. <script src="../../../tests/jquery.testHelper.js"></script>
  9. <script src="../../../external/qunit.js"></script>
  10. <script src="../../../external/requirejs/require.js"></script>
  11. <script>
  12. $.testHelper.asyncLoad([
  13. [
  14. "jquery.mobile.core",
  15. ],
  16. [ "jquery.mobile.init" ],
  17. [ "init_dialog.js" ]
  18. ]);
  19. </script>
  20. <link rel="stylesheet" href="../../../jquery.mobile-1.0.1.min.cssjquery.mobile.css"/>
  21. <link rel="stylesheet" href="../../../external/qunit.css"/>
  22. <script src="../swarminject.js"></script>
  23. </script>
  24. </head>
  25. <body>
  26. <h1 id="qunit-header">jQuery Mobile Init Test Suite</h1>
  27. <h2 id="qunit-banner"></h2>
  28. <h2 id="qunit-userAgent"></h2>
  29. <ol id="qunit-tests">
  30. </ol>
  31. <div data-nstest-role="dialog" id="foo">
  32. <label for="select-choice-0" class="select">Shipping method:</label>
  33. <select name="select-choice-0" id="select-choice-1">
  34. <option value="standard">Standard: 7 day</option>
  35. <option value="rush">Rush: 3 days</option>
  36. <option value="express">Express: next day</option>
  37. <option value="overnight">Overnight</option>
  38. </select>
  39. </div>
  40. </body>
  41. </html>