I have a “back office” page i am developing. I have created a series of buttons that turn divs on and off for the various functions of the office.
example buttons: change name, change date, create a new widget etc…
rather than load a new page with the proper forms and data I load it all up front and then hide it with
display: none;
when you want to perform a certain task, the button turns on that div..
display: block;
Is this ok or a hair brained idea sure to break at some point..
Thank you.
It’s hairbrained and sure to break eventually, but if it meets your needs for data integrity / security and performance and you are OK with fixing it when / as things change, then it sounds like a solution that fits your needs (whatever those actually are)