Radio button onclick does not check the button
When you add the onclick event to the dijit radio button in Dojo 0.9, the button will not get checked. I have not tried using the dojo.connect to put the onclick event on the button, yet, but I should be override onclick by placing it on the button itself. My javascript function still gets called, but the button does not show checked.
Example:
<input dojoType="dijit.form.RadioButton?" type="radio" name="week1" value="CourseID 1 Credit" onclick="updateCart(this.value);"/>
Change History (4)
Milestone: |
→ 1.1
|
Owner: |
set to Douglas Hays
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Component: |
Dijit →
Dijit - Form
|
Agreed. But for that to work everything from Button upwards needs to implement an _onClick handler that calls onClick.