Question: this is my code index.html json testing function load() { var mydata = JSON.parse(data); // writing to data mydata[0] = 10 x.innerHTML=HI; } i can
this is my code
index.html
json testing
i can open the json file but i can not write or read to it. I am trying to do this with out php
sel.json
[{"sel":1}]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
