I have three html files, the html(#1) is the menu page that shows images of 3D models where users could click and and direct them to html(#2) with the description of that 3D model.
As you can see this "href" also carries some parameters that html(#3) needs to position the camera view for the users to see an specific angle of the 3D model. Now, the html(#2) which it's description page has html(#3) on an iframe.
I would like to have html(#2) be able to receive these parameters from html(#1) and pass it to html(#3).
I thought that by declaring the src this way: "document.getElementById("pooliframe").src = address;" it would write on iframe's src tag the address variable, but I get this error: Uncaught TypeError: Cannot set property 'src' of null for this code line: document.getElementById("pooliframe").src = address;
Please help me, please!!!