Public Access
0
0

Добавить js/forma.md

This commit is contained in:
2026-04-27 15:05:13 +00:00
parent 9557a826ad
commit b22679066f

10
js/forma.md Normal file
View File

@@ -0,0 +1,10 @@
# Работа с формой
```js
const select = tr.querySelector("td.select_status").firstElementChild // нахдим TD где находится список
const textToFind = 0001 // Элемнт котоый нужно найти в списке у выбрать его
select.selectedIndex = [...select.options].findIndex(option => option.value === textToFind); // Поиск по value
```