Radio buttons and http requests
Posted: Fri Mar 17, 2023 9:45 am
Hi.
I have sucesssfuly used NEXA home on a Pi for a cupple of days. What a fun joy!.
Im thinking of making my own web-frontend using radio-buttons to switch of and on ligths. Using these ui-elements: http://www.bootstrap-switch.org/ its going to be sweet!
My plan is to use ajax to send http requests when pressing the buttons, but i have som trubble integrating it. Any ideas?
I have sucesssfuly used NEXA home on a Pi for a cupple of days. What a fun joy!.
Im thinking of making my own web-frontend using radio-buttons to switch of and on ligths. Using these ui-elements: http://www.bootstrap-switch.org/ its going to be sweet!
My plan is to use ajax to send http requests when pressing the buttons, but i have som trubble integrating it. Any ideas?