|
|
|
consol.log как вывести в html
|
|||
|---|---|---|---|
|
#18+
Есть скрипт: var str = document.getElementById("char_textarea"); var newstr = str.replace(/Transfer: /i, ''); let arr = newstr.split('<br>'); function filterItems(query) { return arr.filter(function(el) { return el.toLowerCase().indexOf(query.toLowerCase()) > -1; }) } console.log(filterItems('Вопрос:')); Нужно пихнуть его в html, что бы он исполнялся и собирал данные с текстового поля char_textarea, как это сделать? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.06.2020, 22:43 |
|
||
|
|

start [/forum/topic.php?fid=22&fpage=9&tid=1443451]: |
0ms |
get settings: |
8ms |
get forum list: |
11ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
29ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
43ms |
get tp. blocked users: |
2ms |
| others: | 8ms |
| total: | 120ms |

| 0 / 0 |
