Hello everyone,
I have a question as I am not very familiar with javascript and HTML5.
I have a json array where I keep some values, for example { id=5, name=Steve, products=10:1,21:2,25:1 }. Products element keeps products Id and products qty. this is the only way to keeps these values due to application limitations. However when I would like to update product qty if product Id exist in the list I don't know how to do it. Actually, I manage to check if productId exist in the array so I know that product exist and I would like to update qty value.
If anyone knows how to help me I would be grateful as I stuck with this problem.
thank you.