I want to add an html page to a json object and want to access the div tags there id from the json object. I am new to this and do not know what I want to do.
the scenario is as follows:
I have an html page that has multiple div tags with id = page1, page 2, etc. I want to add this page to a json object and then access its page id in js ie page1 page2, etc. Can anyone suggest some solution for this.
I just saw some values being entered in json object.how to add any html page or its elements?
source
share