Hello again,<br><br>I am having some trouble working with radiobuttons:<br><br>I have a component with 3 counters: #lectureCount, #labCount and #tutorialCount.<br>Then I have 4 radiobuttons: #free, #lecture, #lab and #tutorial.<br>
<br>Then I have an onChange: ((html jQuery #XXXcount) load html: [:h | h render: (XXXcount := XXXcount +1)]) for each of the lecture, lab and tutorial button.<br><br>What I am trying to do is decrease the counter that is associated with the previously selected radioButton.<br>
<br>For example if I had the #lecture radioButton selected, when I pick the #lab button instead it increases the #labCount but I would like also to decrease the #lectureCount.<br>So in effect I need to: a) find out which button was selected. b) have multiple actions with onChange : (increase one counter and decrease another).<br>
<br>Also, I was under the impression that using (html jQuery this attributeAt: &#39;selected&#39;) on a radioButton would give me a boolean value, but it seems it&#39;s not the case and I don&#39;t understand why.<br><br>
Thanks,<br>Gilles<br><br>