Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

Commit

Permalink
added dynamic addition of radio buttons for issue #421
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Neil committed Dec 11, 2012
1 parent 73b7954 commit 80601f1
Show file tree
Hide file tree
Showing 3 changed files with 298 additions and 285 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Below you will find all the different changes that have been added since the first introduction of versioning for the bbUI toolkit.

## Version 0.9.6
* JavaScript Interfaces
* **Radio Buttons:** Added ability to style dynamically using bb.radio.style()


## Version 0.9.5

* _**Compatibility Changes:**_
Expand Down
2 changes: 2 additions & 0 deletions samples/js/dynamicRadioButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ function addRemoveRadioButton() {
radio = document.createElement('input');
radio.setAttribute('type','radio');
radio.setAttribute('name','group2');
radio.setAttribute('checked', 'true');
radio = bb.radio.style(radio);
radio.setAttribute('id',id);
container.appendChild(radio);
} else {// Remove Checkbox
Expand Down
Loading

0 comments on commit 80601f1

Please sign in to comment.