Erik,

Both worked great, thank you very much!

Dan

On Mar 19, 9:37 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote:
> Try:
>
> $(...).is(":checked")
>
> Also, you can set the value attribute with .val("new value")
>
> --Erik
>
> On 3/19/08, Dan M <[EMAIL PROTECTED]> wrote:
>
>
>
> > All,
>
> > Hello all. I'm having an issue with an application that was working
> > previously. I have some checkboxes which I use to hide/show other
> > items on the page. I was using the following code to achieve this...
>
> >       if (jPrnt.attr("checked")) {
> >          actionLabelElmt.show("normal");
> >          actionElmt.show("normal");
> >       } else {
> >          actionLabelElmt.hide("normal");
> >          actionElmt.hide("normal");
> >          actionElmt.attr("value", '-1');
> >       }
>
> > This is no longer working... Any ideas on how to see if a checkbox is
> > checked or unchecked after a page has been rendered but not submitted?
>
> > Dan

Reply via email to