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

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/80db79e7-ac9f-4d95-8099-d518eae3e1eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to