Hi,
in my HTML-Code I have 3 jquery sliders to change 3 different values.
I found an example to send one value to my server-app:
connection.send(ui.value);
My server-app receive the value with the following code:
connection.on('message', function(message) {
My question: How can I send 3 values from the 3 sliders with one send command? I was thinking about I can concat the 3 values with an comma as an limiter, but it doesn't work. Next try was to send an javascript array, but it also doesn't worked.
Can you help me with a tip? At the end of the day there is a Raspi with an RGB-LED-Stripe and node.js installed. Now I can switch on/off the stripe and change the brightness of one color (I can send only one value atm).
Regards,
Carsten