D
Size: a a a
D
НМ
NC
НМ
IG
AD
AI
AI
N
AD
AI
AD
CK
AD
N
CK
const option2 = document.createElement('label');вот так я создаю свои поля, которые вылазят при выборе определнной категории,
const option = document.createElement('input');
option2.textContent = item.feature_name
option.setAttribute('class', 'item')
option.setAttribute('type', 'text')
option.setAttribute('name', item.feature_name)
option.setAttribute('placeholder', item.feature_name)
featurenamesDataBox.appendChild(option2)
featurenamesDataBox.appendChild(option)
CK
AD
const option2 = document.createElement('label');вот так я создаю свои поля, которые вылазят при выборе определнной категории,
const option = document.createElement('input');
option2.textContent = item.feature_name
option.setAttribute('class', 'item')
option.setAttribute('type', 'text')
option.setAttribute('name', item.feature_name)
option.setAttribute('placeholder', item.feature_name)
featurenamesDataBox.appendChild(option2)
featurenamesDataBox.appendChild(option)
NC
CK