PDA

View Full Version : Functions from Controller to Radio Buttons in Java Script



arye
12-25-2010, 10:04 PM
Hi All,

I have something that I need to work out and find how to make it work:

I have a simple controller with several registers on it that I need to read their values.
I have a function described like this:

Read Tag
o Query String
�� func=2&tagname=<tagname>
o Result String
�� <list of comma separated values>

How can I make it work with a radio Button to give me an indication of the register - if it is on or off.
The result is a list of comma separated values and I have a tag - FirstR

func=2&tagname=<FirstR>

How can I use the Radio Buttons to let me see what the state of the register - On or of? how can I connect the function above with the Radio button?

I need to have several radio buttons to indicate the state of my registers. I use the Read Tag function. I'm not sure how to do that. :(

I would be glad to get your professorial help on that :)
Please help I need to figure this out as soon as possible.
Thanks in advance,
Arye

arye
12-26-2010, 01:49 PM
How can I use this function? how do I need to put in values to the function? Please help.
How can I see the result from the function - how it is separated by comma?