V
V
viktorulyushev2016-11-30 20:44:46
1C-Bitrix
viktorulyushev, 2016-11-30 20:44:46

Bitrix. How to add editable area to js code?

I have a js code on the page, inside this code I need to make some part of the text editable, but I try to insert the Bitrix code there, it does not recognize it, how can I do this? Sample code

<script type="text/javascript">
      var newYear = new Date(); 
    newYear = new Date(newYear.getFullYear() + 1, 1 - 2, 1); 
  $('#defaultCountdown').countdown({until: 'ТУТ ТЕКСТ СДЕЛАТЬ РЕДАКТИРУЕМЫМ', format: 'HMS'});
</script>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-12-01
@gangstarcj

There is an interesting idea from Anton

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question