[thelist] opposite of checked="checked"
VOLKAN ÖZÇELİK
volkan.ozcelik at gmail.com
Tue Jun 21 14:31:46 CDT 2005
A trick can be a hidden radio button (position:absolute;top:-999em;
left:-999em; display:none) and setting it checked when you need all
the rest to be not check.
Obviously screen-readers will not like this. But if I understood
correctly accessibility is not a big deal in your case.
HTH,
Volkan.
On 6/21/05, Brian Cummiskey <Brian at hondaswap.com> wrote:
> I have a form with a bunch of radio buttons among other form elements,
> where, on page load, i want to basically re-set all the radio buttons to
> NOTCHECKED.
>
> I know, this sounds counter productive... but bear with me.
>
> Basically, i want the default value of everything to be <input
> tyep="radio" checked="NOTCHECKED" />.
>
> Obviously, that doesn't exist. I need to fight cookies or browser
> sessions as well. If the user hits the back button, i want it empty again.
>
> The hard part-- I'm trying to avoid using scripting. this is going to
> be served on a HIGHLY limited 3rd party, one-off application, but it
> supports xml, html and css. browser sessions are similar to IE.
>
> I don't want to physcally force a reset of the entire form, as i don't
> want to clear text boxes-- just radio elements.
>
> can this be done? Any ideas?
>
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
More information about the thelist
mailing list