html - radio button read only without fading -


is possible make radio button read only without fading ?

as of people before, don't see use of it, if need it, here's hack:

include jquery javascript on page , add class attributes radios:

<input checked="checked" name="n" value="1" type="radio" class="rdonly checked" />  <input type="radio" name="n" value="2" class="rdonly"/>  

and add javascript hack:

$(document).ready(function() {   $("input.rdonly").change(function() {     $('input.checked').attr('checked', true);   }); }); 

this make radios "checked" class instantly become selected when user tries select radio "rdonly" class. looks read only, not faded.

i hope you're looking for, again, think i'd advise against it. cheers


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -