View Full Version : [CLOSED]readOnly radio buttons not honoring readOnly
8 Jun 2010, 8:26 AM
Does anyone know why radio buttons are not honoring the readOnly:true property
8 Jun 2010, 10:29 AM
If it doesn't honor readOnly, it's a bug. Moving the thread to bugs.
8 Jun 2010, 10:45 AM
It's not a bug, it's just not supported by the browser. Try the following in FF, IE, Chrome:
var el = document.createElement('input');
el.name = 'foo';
el.type = 'checkbox';
el.readOnly = true;
8 Jun 2010, 10:58 AM
Thanks for the Explanation Evan. OP could simulate it by adding a (semi)transparent mask over the radios if the requirement is really strict.
8 Jun 2010, 12:24 PM
that's how i'm doing it with mask's right now the problem i'm running into is that when printing preview masks don't show however when it prints it shows up as a gray square.
Powered by vBulletin® Version 4.1.5 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.