y is not an input, it is a select option:selected
Also not sure why doAdd(ths) and why y=x
It might help if you gave us the whole picture of what is supposed to happen
y is not an input, it is a select option:selected
Also not sure why doAdd(ths) and why y=x
It might help if you gave us the whole picture of what is supposed to happen