0
How to find and add/substract numbers using jquery?
Please help me. I can't create a shopping list using jquery, which is similar to to-do list. But I can't calculate the total price of items, which I added. I used parseInt() method but it gives me NaN or 0. What can I do? https://code.sololearn.com/WDg07908723Q/?ref=app
2 Answers
0
Can't understand Tarek sir! Because your id's are different from mine. It so difficult to find the logics. Can you simplify this?
0
Ok! Now I know how to add or subtract numbers using jquery. parseInt() method is good, just a syntax error causing my code to return NaN or sometimes 0. But a new problem arises. Hoping this will also go away!!!âșïž