S
S
siarheisiarhei2020-12-23 17:37:54
Django
siarheisiarhei, 2020-12-23 17:37:54

Set input value with Javascript function?

There is a django tag {{ item.index_photo_title }}.
There is django forms. We need a ready value in input from {{ item.index_photo_title }}.
Is it possible to solve, well, something like this (// document.getElementById('id_show_title').value = '{{ item.index_photo_title }}';)?
Django is already overloaded (Too many local variables (24/15))

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question