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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!