[Ruby] ruby on rails, formatting check_box
James Hillyerd
james at hillyerd.com
Thu Aug 2 10:54:21 PDT 2007
On 8/2/07, Frank Schwieterman <fschwiet at gmail.com> wrote:
>
> I tried dave's suggestoin (<label><%= checkbox>text</label>) and it does
> what I had hoped.
My experience is that <label><checkbox/>text</label> only works on Firefox &
friends. In IE, you won't be able to click on the text to toggle the
checkbox. <checkbox id="x"/><label for="x">text</label> does work in IE.
-james
--
James A. Hillyerd <james at hillyerd.com>
Chief Technical Officer - ActiveRain Corp
More information about the Ruby
mailing list