responsive input tables
-
I want to code a responsive checkbox table in a form.
I coded it by reading from a database to a php variable, and generating the table of checkboxes with javascript, and regenerating it from the php variable on resize.
So far so good….
But then my boss tried to click a few check boxes on his ipad and swiveled it round, changing the resolution, refreshing, but losing the added check box values (as it read from the initial php variable).
Maybe I should save the db values to a session, update the screen from the session, and on change of any checkbox, update the session (javascript or ajax php?), and then read the session back on resize.
Is this the best way to do this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘responsive input tables’ is closed to new replies.