A
A
akula222016-11-01 11:35:44
JavaScript
akula22, 2016-11-01 11:35:44

What tool to use to hide objects?

Tell me what tools to use for this:
I need to block objects or remove them from view, after clicking checkboxes, selected selects, there are a lot of options and after saving on php, in particular on yii2, so that all this is saved when the page is reloaded, I used to do it on Jquery, but maybe Are there better tools now?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2016-11-01
@webinar

Alternatively, you can implement the dependency in php, wrap everything in pjax. With each change, pjax will reload the block, respectively, the rendering will take place on the server and the logic will be there. Sometimes it's convenient. But at the same time, the user may experience delays after clicking. You can add a loading status animation that will overlay the fields to avoid a click during the request.
Another option is the step-by-step form. Reduces the code at times.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question