Radio buttons and http requests

Moderators: hekj, Telldus

Post Reply
petterah
Posts: 1
Joined: Fri Mar 17, 2023 9:45 am

Radio buttons and http requests

Post by petterah »

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?
hekj
Posts: 992
Joined: Fri Mar 17, 2023 9:45 am
Location: Stockholm
Contact:

Re: Radio buttons and http requests

Post by hekj »

petterah wrote: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?
Have you downloaded my image and looked at the pre-configured web server with house layout?
http://www.telldus.com/forum/viewtopic.php?f=15&t=3172
Post Reply