I am completely new to Mootools and I’ve been trying to understand the
documentation and apply it to my problem however, I am having no luck at the
present time.
I have a set of offer option checkboxes that exist on my page with defined
specific values. The issue is that as the user selects a checkbox then I need
to immediately apply the value of that option checkbox to another checkbox on
my page and change the color of that checkbox to RED.
How can I accomplish that with Mootools?
In googling I think I found a way that I can get the values of the second set
of checkboxes once I can figure out the first part and any feedback from the
mootools user group would be appreciated if this is incorrect. Here is the
code I found:
//Retrieve all values of the second set of checkboxes
var values = $$('input[name=secondCheckboxes]:checked').map(function(e){return
e.value;});
I hope this makes sense.
Any help/direction would be appreciated.
Regards.