Do you have Chrome? Do you get any chrome error from the javascript console?
On Saturday, 20 July 2013 01:56:52 UTC-5, lucas wrote:
>
> hey massimo,
>
> trying it:
>
> <script>jQuery(".check_all_checkbox").click(function() { var
> checkedStatus = this.checked; jQuery(".ci_").each(function() {
> this.checked = checkedStatus; }); });</script>
>
>
> obviously focusing on the class names with:
>
> <input class="check_all_checkbox" name="ci_3" type="checkbox" value="on" />
>
>
> for the all checkbox, and an example of a sub checkbox is:
>
> <input class="ci_" name="ci_3_27" type="checkbox" value="ci_3_27" />
>
>
> but when i check on the all one, it does not check the sub. why? what am
> i doing wrong?
>
> eventually, and you can see me starting to set it up. i want to grab the
> name of the all checkbox and only check/uncheck the sub checkboxes with
> that as the class.
>
> lucas
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.