Both file are html, index.html and show.html, in index.html i have a very basic form with a single input type="file", when user selects a file(only images) it shows a preview, when user clicks on "send" the user goes to the show page and I want to show on that page the image that was "uploaded", but since no images are uploaded because is just a demo with no actual uploading functions how do I show that image?... the jquery library that I use to preview the image in index.html converts the image in to a base64 code I'm able to get that value, but in show.html I can't use POST, and using ajax is out of the question, i was thinking to use:
document.getElementById("posted_image").innerHTML = window.location.search;
then just parse the value, but the problem is that the base64 code of that image is humongous it wont work... also I was thinking to store the value in a cookie but I don't know how to do that with javascript or if a cookie has a limitation... is there an actual way of doing this without the use of PHP?..