Forum Discussion
Altera_Forum
Honored Contributor
15 years agoIf you mean you want a HTML web page be instantly updated when you press the button, this is not possible. Web pages are generated or transferred at the specific client request. The server can't send a page update in an automatic way. AFAIK the only way to do something similar with HTML is using the refresh command in the <HEAD> section and this will instruct the client to periodically reload the page.
If the webserver is not using plain HTML maybe it is possible. I don't know... Anyway, I own the same DBC3C40 board and the webserver example which came with it is made of simple static HTML pages. If you want to show button status, first of all you must use dynamic HTML and cgi scripts.