Select not working after POST action="#"

Select not working after POST action="#"

The following example should reproduce the problem.

The switch works after loading the page

After hitting the send button, the switch does not show any element anymore.

Tested on Chrome, Android and IOS

I guess I do fall for some super easy error here. Please help me. I'm running it on a FLASK server.
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. <meta name="viewport" content="width=device-width, initial-scale=1">

  5. <title>title</title>
  6. <link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
  7.     <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
  8. <script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
  9. </head>

  10. <body>
  11. <div data-role="page">
  12.   <div data-role="main" class="ui-content">
  13.    <select name="ss" id="ss" data-native-menu="false" data-icon="grid" data-iconpos="left">
  14.      <option>1</option>
  15. <option>2</option>
  16. <option>3</option>
  17. <option>4</option>
  18. </select>
  19. <form action="#" method="post">
  20. <button type="submit">send</button>
  21. </form>
  22.   </div>
  23. </div>  
  24. </body>
  25. </html>