0
How can i change the value of a variable after it has been assigned in js? (But not by editing the code)
I have declared an array in which i have stored the prices of food items. Now, anytime the prices change or the user wants to chane them, the user must be able to change them not by editing the code but through the webpage only so that the price in the array gets modified and it should be saved for next time when the browser opens.
1 Answer
+ 5
if you want to store values use dbms.
and to change values use loops.