Button with link only works once

Button with link only works once

Hi Folks,

i am new to this, and i am helpless. I designed my website for my RGB-LED Control with query mobile.
It looks nice and works fine. But my buttons only work once. For example:

i push the dim up button, it dims the led up. 
i push the dim up button again, nothing happens, there will be no ne http request registered by my controller.
i push any other button, then the dim up button again, and it works again for one click.

It seems so me that a link is only clickable once and then marked as active and not working a second time.

Is there a way to open my link as many times as i want ?

i hope someone understands my problem, due to my bad english and can help me.

Thanks in advance


Here is my code from my website:

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  <meta name="apple-mobile-web-app-capable" content="yes" />
  5.  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  6.  
  7.  <title>LED-Control 2.0</title>
  8. <meta name="mobile-web-app-capable" content="yes">
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. <link rel="apple-touch-startup-image" href="http://192.168.2.1/LED/iphone.png">
  11. <link rel="apple-touch-icon" href="http://192.168.2.1/LED/custom-icon.png">
  12. <link rel="shortcut icon" href="http://192.168.2.1/LED/custom-icon.png">
  13. <link rel="stylesheet" href="http://192.168.2.1/jquery/jquery.mobile-1.4.5.min.css">
  14. <script src="http://192.168.2.1/jquery/jquery-1.11.3.min.js"></script>
  15. <script src="http://192.168.2.1/jquery/jquery.mobile-1.4.5.min.js"></script>




  16. </head>
  17. <body>

  18. <div data-role="page" id="seite01">
  19.    <div data-role="header">
  20.      <h1>LED-Control</h1>
  21.    </div><!-- /header -->
  22.    <div data-role="content">
  23.    
  24.    <p> <center> <a href="?red=0&green=0&blue=0&dimv=0" class="ui-btn ui-icon-power ui-btn-inline ui-btn-icon-notext ui-corner-all">No text</a>
  25.                 <a href="?red=0&green=0&blue=0&dimv=10" class="ui-btn ui-icon-plus ui-btn-inline ui-btn-icon-notext ui-corner-all">No text</a>
  26.                 <a href="?red=0&green=0&blue=0&dimv=-10" class="ui-btn ui-icon-minus ui-btn-inline ui-btn-icon-notext ui-corner-all">No text</a> 
  27.     
  28.     </center></p>
  29.    <p> <center>
  30.           <a href="?red=255&green=0&blue=0&dimv=0" data-role="button" class="ui-btn ui-corner-all ui-btn-inline" style="background: red; color: red;"></a>
  31.  <a href="?red=0&green=255&blue=0&dimv=0" data-role="button" class="ui-btn ui-corner-all ui-btn-inline" style="background: GREEN; color: green;"></a>
  32.           <a href="?red=0&green=0&blue=255&dimv=0" data-role="button" class="ui-btn ui-corner-all ui-btn-inline" style="background: blue; color: blue;"></a>
  33.    

  34.     </center></p>
  35.    <p> <center>
  36.      <a href="?red=255&green=20&blue=0&dimv=0" data-role="button" class="ui-btn ui-corner-all ui-btn-inline" style="background: rgb(255,150,0); color: red;"></a>
  37. <a href="?red=0&green=150&blue=255&dimv=0" data-role="button" class="ui-btn ui-corner-all ui-btn-inline" style="background: rgb(0,190,255); color: green;"></a>
  38.      <a href="?red=255&green=255&blue=255&dimv=0" data-role="button" class="ui-btn ui-corner-all ui-btn-inline" style="background: rgb(255,255,255); color: blue;"></a>
  39.    

  40.     </center></p>
  41.     <form name="input" action="index.htm" method="get">
  42.  
  43.     <label for="slider-2">RED:</label>
  44.     <input type="range" name="red" id="slider-2"  data-highlight="true" min="0" max="255" value="$r" ><br>
  45.     <label for="slider-2">GREEN:</label>
  46.     <input type="range" name="green" id="slider-2" data-highlight="true" min="0" max="255" value="$g"><br>
  47.     <label for="slider-2">BLUE:</label>
  48.     <input type="range" name="blue" id="slider-2" data-highlight="true" min="0" max="255" value="$b" ><br>
  49.     <input type="hidden" name="dimv" value="0">
  50.     <button class="ui-shadow ui-btn ui-corner-all" type="submit" value="SET" id="submit-2">SET</button>
  51.    
  52. </form>


  53. </div><!-- /content -->
  54.    <div data-role="footer">
  55.      <h4>V 2.1</h4>
  56.    </div><!-- /footer -->
  57. </div><!-- /page -->

  58. <!-- </body> --></body>
  59. </html>