Jump to content

How to dynamically change a table using checkboxes


firblazer

Recommended Posts

Hi!

 

I have a table with a list of names from a database. Beside the list of names, I have a checkbox beside each name. By clicking on the checkbox, I can remove the names from the list. That means to say: I can dynamically change the list by clicking on the checkboxes.

 

How can I do that?

 

Thanks.

look into ajax for php/js interaction.

 

but let's backup here a minute.  Are you sure you want it to automatically delete by checking a checkbox? Checkboxes are meant for flagging multiple things.  Maybe you mean to click multiple ones and then click a single delete button? You can do this by making a regular form with a regular submit button, no js required at all. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.