posted 23 years ago
The onblur() will work with text boxes, but not radio buttons or check boxes. I believe that this is because to make the radio button get focus, you click on it, and when you click on a radio button, it changes that value. So it is the order of events on the radio buttons and checkboxes that is screwing that up. Works nice on text fields though.
There is not an inactive flag for radio buttons or check boxes, so you really can't do this. My suggestion would be to create an image of a checkbox, one checked, and one not checked, and then have some server side processing that displays the correct image from the form that was submitted. You can then put all the real values in hidden fields, so you can submit them form from that page also. You don't have to use images either, and just use straight HTML text to say what is checked, but the images might give it a nice look.
Bill
[This message has been edited by bill bozeman (edited November 27, 2000).]