Jump to content

[SOLVED] Select ALL checkboxes


Grant Holmes

Recommended Posts

I'm returning a page of results from my table. The end result is a multiple field table with record/rows. Each returned record is "Inactive" in that the "ACTIVE" field is set to 0 (zero) when I create the record. We want to be able to easily SELECT ALL to "Activate" or DeSELECT all to "DeActivate" by clicking a button, then Save Changes and have ALL those records updated. Someone may SELECT ALL, the uncheck some on their own too, or vice-versa; Do a DE-SELECT ALL.

 

Anyhow, I'm assuming that this is a Javascript issue, so posted it here. However, after not getting any answers, I'm wondering if it's a PHP challenge?

Link to comment
Share on other sites

First of all, you don't have any form to use checkboxes in that code. At least not from the quick glance I gave it.

 

But this is JavaScript and not PHP. I will reply to the other topic. As for this one, please just close it with the topic solved button. Thanks.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.