I like to make a simple push button on my web form. This button to the following action:
if (request.indexOf('/PULS=ON') != -1) {
lcd.setCursor(0,1);
lcd.print("WEB PULZ... ");
// etc....
}
on the web page I did like this:
client.println("<td><input type=button value=PULS onmousedown=location.href='/PULS=ON'></td>");
Every think work well.
My problem is, every time when I make a refresh of my page, the button send the
GET /PULS=ON HTTP/1.1 command!
I like to have this GET only when I press the button.
Many thanks for your help
Otto