add to cart, how do I take less than the number of values, with the id, the name for all tried, onclick also tried, are undefined, but the same method for other forms of value can get, is the number of less than, have a great god help have a look at it CodePudding user response:
See what is the return code in the f12,
CodePudding user response:
What is it, is there any relationship with this, if it doesn't matter, you try to give the input change a name such as for buyNum CodePudding user response:
ByName is an array, subscript take object before. Try the value CodePudding user response:
To getElementById, then give a id try it in the input, input words all don't need to write the ending tag & lt;/input> Or add a/?