Subscribe to my Feed, follow me on Twitter, recommend me on Working With Rails or see my code on GitHub
FormHelper
An unobtrusive "unobtrusive" answer to the very frequently asked question “how do I create a dropdown that fills out another dropdown”.
<select name="foo" class="updates:bar">
<option value="1">1</option>
<option value="2">2</option>
</select>
<select name="bar">
<optgroup label="1" class="foo:1">
<option value="1">1.1</option>
<option value="2">1.2</option>
</optgroup>
<optgroup label="2" class="foo:2">
<option value="3">2.1</option>
<option value="4">2.2</option>
</optgroup>
</select>
And it just works.
Download now for the low price of nothing and get one extra feature for no added cost! But wait, there’s more! Download within the next ten years and receive the practical Checker for free!
