disabled

java.awt.Checkbox disabled appearance inconsistent with XP

I'm a hobbyist programmer. My disabled AWT Checkbox with label passed in constructor is not being displayed how I think it should on my WindowsXP x64 machine. The text label gets grayed out, but the actual checkbox area background remains white. I expected it to have a gray background like when it is in the mousePressed state. The Swing ...

how to disable a control in javascript

document.getElementById("ctrl").disabled = true; this works in IE but does not works in mozila. What shoul I do? ...

Check first radio button with JQuery

Hello, I would like to check the first radio button of each group. But there are some radio button that are disabled, so the script should ignore them and go to next non disabled. I write something like this but doesn't work: $(document).ready(function(){ if ($("input['radio']).is(':disabled')) { $(this).attr('checked', f...