J
J
JustWise2019-08-13 15:46:31
JavaScript
JustWise, 2019-08-13 15:46:31

How to add the value of the additional modx field to the js file?

How to take value from extra field and put it into variable in javascript file?
let a = Вопрос;

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dicem, 2019-08-13
@dicem

Assume a field: well, the code
let foo = document.getElementById('foo').value

I
I'm Yoda, 2018-01-04
@Anadi

Owl Carousel 2 try it!

D
Daniel Tsioma, 2018-06-17
@daniel_ts

Slick slider

$('.slider').slick({
    slidesToShow: 1,
    slidesToScroll: 1,
    dots: true
});

Style yourself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question