public marks

PUBLIC MARKS with tags radio & javascript

2009

Dynamically Created Radio Buttons - Another IE Gotcha

by astrochoupe
As soon as I think I have it all worked out I bump into another oddity between Firefox and IE and handling the DOM. Specifically adding a radio button (or set of them) dynamically. My initial javascript went something like this: # var rdo = document.createElement('input'); # rdo.type = 'radio'; # rdo.id = 'someUniqueID'; # rdo.name = 'myRadio'; # rdo.value = 1; # # myDocumentsBody.appendChild(rdo); This almost worked perfectly. The input was added, it was a radio button, but it was totally unselectable. I could select it via javascript but the normal "click" event didn't cause the radio button to assume the "selected" state in IE? What gives?

2008

Custom Checkboxes, Custom Radio Buttons, Custom Select Lists

by loneseb & 4 others
This JavaScript and CSS will allow you to use custom images for checkboxes, radio buttons and select lists.

2007

2006

CRIR: Checkbox Radio Input Replacement

by MaoTseTongue & 13 others
This combination of JavaScript and CSS will hide checkbox and radio inputs that have a class = "crirHiddenJS", an id, and a proper label tag. This will allow you to style the label however you wish using CSS, and the actual input control will be hidden. The form will still collect data as it normally would because the label itself will trigger the hidden input control. If javascript is disabled no inputs will be hidden and the form is still be fully functional.

chris erwin dot com - CRIR: Checkbox Radio Input Replacement

by nhoizey & 9 others (via)
This combination of JavaScript and CSS will hide checkbox and radio inputs that have a class = "crirHiddenJS", an id, and a proper label tag. This will allow you to style the label however you wish using CSS, and the actual input control will be hidden. The form will still collect data as it normally would because the label itself will trigger the hidden input control. If javascript is disabled no inputs will be hidden and the form is still be fully functional.

CRIR: Checkbox Radio Input Replacement

by Simay & 9 others (via)
remplacer les boutons radio et les cases a cocher par des images en restant accessible...

1970

PUBLIC TAGS related to tag radio

bed +   child +   flyer +   model +   pad +   side +   toy +   wagon +  

Active users

astrochoupe
last mark : 19/05/2009 15:52

loneseb
last mark : 08/07/2008 09:11

webs
last mark : 26/12/2007 21:01

MaoTseTongue
last mark : 02/09/2006 13:36

tbeaumanoir
last mark : 16/08/2006 15:29

nhoizey
last mark : 10/08/2006 11:43

Simay
last mark : 07/08/2006 22:13

coxtree
last mark : 01/01/1970 01:00