V
V
VladimirMelnik2018-01-20 20:16:59
css
VladimirMelnik, 2018-01-20 20:16:59

How to make several pjax forms update one block?

How to make several pjax forms update one block?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xonar, 2019-11-06
@xonar

Here you need to track the click event on one of the buttons, then use the forich loop to throw a class with animation on the block that should open and throw a class on the block with buttons that goes up. Regarding the animation itself, there is nothing complicated, judging by the example, the buttons move up and the block appears with fear. You can salt and pepper to your taste.
As I could, I described briefly.
If you yourself did not understand this, then you are clearly not a Frontend developer yet)

M
Maxim Timofeev, 2018-01-21
@webinar

formSelector?
www.yiiframework.com/doc-2.0/yii-widgets-pjax.html...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question