mtewari Posted May 10, 2013 Share Posted May 10, 2013 Hi, I have a php page where I get records from Mysql database and show them in a table. Now I want to add a functionality whereby if the user clicks on one particular column in the row, the whole row should be greyed out (becomes uneditable / readonly) and when the same same column is again clicked (acts as toggle field), the row becomes active again. Now when the user submits the form all the greyed out records will not be considered for further processing of the data. I am fairly new to php and would appreciate any help / pointers in the right direction to achieve this. Thanks, Quote Link to comment https://forums.phpfreaks.com/topic/277899-grey-out-an-entire-row-on-click/ Share on other sites More sharing options...
Psycho Posted May 10, 2013 Share Posted May 10, 2013 Unless you want to refresh the page when the user clicks a column, you will need to do this with JavaScript. << Moving to JS forum >> Quote Link to comment https://forums.phpfreaks.com/topic/277899-grey-out-an-entire-row-on-click/#findComment-1429590 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.