How to auto centre the last changed table row after reload?
Hi all,
I am working on a PHP utility for someone that needs some features.
Currently I am working on a table to manage products.
This is is a part of the table I have:
code | name | active
1 test1 enable/disable
2 test2 enable/disable
3 test3 enable/disable
Every time I press the button enable/disable in one of the rows, the page refreshes and you will see the page as always, scrolled back to the top. Like this:
_____________
| changed row |
| |
| |
| |
|____________|
What I want is the following.
When the user presses the enable/disable button, the row must be centered on the screen after the refresh. Like this:
_____________
| |
| |
| changed row |
| |
|____________|
Then I have another question.
I want to enable / disable a text field with a checkbox in a WHILE loop.
So that I can enable / disable the textfield's as followed:
_
|_| textfield1
_
|_| textfield2
_
|_| textfield3
I hope someone can help me.
Gr. Blalien