On document.ready, add a class to all checked checkboxes, if any
exist.

$(document).ready(function() {
    $(":checkbox:checked").addClass("checked");
});

On Oct 22, 10:55 am, Devin <[EMAIL PROTECTED]> wrote:
> Hi,
> I've poked around for a solution but I can't find anything concise
> enough for my jquery skill level.
>
> When my page loads (asp) some checkboxes will be checked (depending on
> the parameters).  I would like to have these checkboxes have a style
> on them.  I know there is other ways but I would like to become more
> familiar with jquery :)
>
> Thanks for any help you can provide
>
> D

Reply via email to