Topic: AJAX and check_box_tag problem
I have a table with each row associated with a check_box just like when you check Google or Yahoo mail. I want when a check_box is selected its associated row will change background accordingly, such as change to yellow background just like Google does. I have tried observe_field for each check_box but it's seem not a good solution. Anyone have a better solution?
I also have check all, un-check all and some buttons at the bottom of table that could apply action to selected rows(selected by check_box) such as delete, activate, de-activate. But the problem is when user click one of those buttons how can i know which row are currently selected to apply action to.
Has anyone experienced these cases? Please share with me