[ad_1]
Hi,
I’d like to disable an option on a select (x[2]) based on value inserted on a number input field (x[1]).
if (x[1] >= 45) {
for (let opt of x[2].options) {
(opt.value == 3500).addAttr('disabled', 'disabled');
}
}x[1] is a Number input field
x[2] is a Select input
Above function doesn’t seem to work
The page I need help with: [log in to see the link]
