If the two pages are on the same domain, a third way is to use HTML5 localStorage: http://diveintohtml5.info/storage.html

In fact localStorage is precisely intended for what you want. Dealing with GET params or window/document JS references is not very portable (even if, I know, all browsers do not support localStorage).

Answer from Ulflander on Stack Overflow
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 33910409 โ€บ pass-json-object-to-another-page
Pass JSON Object to another page - javascript
Well, if you want to pass some data across pages the best approach would be to use localStorage/sessionStorage (the only difference is that localStorage has no expiration date, sessionStorage is self-describable). var jsonContact = [{"name" ...
Discussions

How do I pass a portion of Json object to another page?
๐ŸŒ forum.jquery.com
How do you pass json data from one page to another to reference the same row of data?
I am pulling address location information from a google spreadsheet and using it to create buttons. When you click on a button it then should open and populate the data for that location in a new ... More on stackoverflow.com
๐ŸŒ stackoverflow.com
php - how to pass json data to page to page? - Stack Overflow
Communities for your favorite technologies. Explore all Collectives ยท Ask questions, find answers and collaborate at work with Stack Overflow for Teams More on stackoverflow.com
๐ŸŒ stackoverflow.com
how to pass json data into query string and use that data in another page
Here table contains book details which contains book name, author, pric, ISBN and category. When user click on Book Name it should pass the data to another page using querystring More on stackoverflow.com
๐ŸŒ stackoverflow.com
๐ŸŒ
findnerd
findnerd.com โ€บ list โ€บ view โ€บ Sending-JSON-data-from-one-HTML-page-to-another-using-Session โ€บ 19350
Sending JSON data from one HTML page to another using Session
May 6, 2016 - Here is the code of the send.html file: send this is the jquery code when user clicks the button. $("button").click(function(){ var data = html2json(); storeuserdatainsession(data); window.location = 'slider.html'; });data variable contains the string value that is return by the html2json() function.here is the functionality of thehtml2json() function for getting the text from the input boxes and creating a json string.function html2json() {var key=['terms','definitions'] ;var c =0; var json = '{"userdata":['; var otarr = []; var tbl2 = $('#ul-list li').each(function(i) { x = $(this).find('.in
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 22023844 โ€บ how-do-you-pass-json-data-from-one-page-to-another-to-reference-the-same-row-of
How do you pass json data from one page to another to reference the same row of data?
When you click on a button it then should open and populate the data for that location in a new page or if need into a dialog box. How do you pass the information to a new page and complete the if statement? Everything works great if I manually add the entry.id.$t string in the last if statement. $(document).ready(function () { $(function FISLocations() { $.getJSON("https://spreadsheets.google.com/feeds/list/GoogleSpreadsheetKey/od6/public/values? alt=json-in-script&callback=?", function (data) { $('.loc').append('<ul class="collapsibleList" id="list"><li><label for="mylist-node1" class="css_b
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 41692239 โ€บ how-to-pass-json-data-into-query-string-and-use-that-data-in-another-page
how to pass json data into query string and use that data in another page
Then when you're transitioning from one 'state' to another, you do it like so passing along the parameters you want: $state.go('read-book-details', { name: book.name, price: book.price, author: book.author }); On the 'other' page's controller (ie the controller for the 'read-book-details' state) you can inject $state and get the parameters that are passed in via $state.params (ie., $state.params.price) A second option for you is to have a service that you can store the data in, then retrieve from anywhere else.
Find elsewhere
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 33910409 โ€บ pass-json-object-to-another-page
Pass JSON Object to another page
November 25, 2015 - Well, if you want to pass some data across pages the best approach would be to use localStorage/sessionStorage (the only difference is that localStorage has no expiration date, sessionStorage is self-describable). var jsonContact = [{"name" ...
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 55006320 โ€บ how-to-pass-json-array-of-one-page-into-another-in-php
How to pass json array of one page into another in php?
March 5, 2019 - You could always take it one step further and save the json into a database and access it on the next page then delete it from the database on the bottom of that page. Its clean and efficient.
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 67521803 โ€บ use-data-from-json-to-go-to-page
Use data from Json to go to page
function click1() { var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var Link = JSON.parse(this.responseText); document.getElementById("Link1").innerHTML = Link.title; window.location.href = Link.link; } }; xmlhttp.open("GET", "link.json", true); xmlhttp.send(); } Note that setting the innerHTML of an element before window.location.href = Link.link; is somewhat pointless because updating window.location will cause a new page to load.
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 62136879 โ€บ how-to-get-json-data-in-one-another-page
How to Get json data in one another page?
June 1, 2020 - Since you already told me above that you have a data.json all you need is to get the user id from the URL and then filter the parsed json like so:
๐ŸŒ
Ionic Framework
forum.ionicframework.com โ€บ ionic framework โ€บ ionic-v3
Passing Json Data to Second Page for Audio player - ionic-v3 - Ionic Forum
June 8, 2017 - Hi , Please can someone help me with this implementation of Media Player fetching from Remote Json. I'm using this Remote data to list Artist, Image but want to pass Audio URL to Player page. Any suggestion on how to impโ€ฆ
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 43587968 โ€บ send-json-data-from-one-page-and-receive-dynamically-from-another-page-using-aja
Send JSON data from one page and receive dynamically from another page using AJAX when both page are open
June 8, 2017 - 0 php - Send data from one php page to another and refresh it with the new data ยท 2 How to get data from one php page using ajax and pass it to another php page using ajax
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 14637559 โ€บ pass-json-values-across-pages
pass json values across pages
I have defined a json object as function getPost() { var fname = document.getElementById("fname").value; var lname = document.getElementById("lname").value; var v = { ...
๐ŸŒ
Ouseful Info
blog.ouseful.info โ€บ 2010 โ€บ 02 โ€บ 28 โ€บ grabbing-json-data-from-one-web-page-and-displaying-it-in-another
Grabbing JSON Data from One Web Page and Displaying it in Another
March 1, 2010 - If we want to display the serialsed version of the object in another page, rather than in an alert box or the browser console, we need to pass the the serialised object within the URI using an HTTP GET to the other page, so we can generate a ...
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 33634486 โ€บ how-can-i-pass-json-object-from-one-page-to-another-page
How can I pass json object from one page to another page
November 11, 2015 - Consider the followings, which ... is a single page application, then you can just set it to a variable in a Service, and inject that service the controllers need the var....