A
A
agent11562016-09-22 14:23:06
JavaScript
agent1156, 2016-09-22 14:23:06

Why is js script not working in yii2?

Why scripts don't work in yii2 ? Even

$(function () {

            $("p").css("color", "green");

        });

does not work ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rustam Idrisov, 2016-09-22
@RustaMechanic

Good afternoon.
Understood your question.
They (scripts) work - in this article fncy.ru/yii2-javascript you will find the answer to your question, it also helped me at one time when I needed to write a JS script inside the view.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question