You could use the window’s name window.name
to store the information. This is known as JavaScript session. But it only works as long as the same window/tab is used.
More Related Contents:
- How to read with JavaScript [closed]
- adding numbers in I variable in for loop javascript
- “Thinking in AngularJS” if I have a jQuery background? [closed]
- What is the !! (not not) operator in JavaScript?
- How to determine if Javascript array contains an object with an attribute that equals a given value?
- Changing the image source using jQuery
- JavaScript click event listener on class
- How to update an “array of objects” with Firestore?
- javascript i++ vs ++i [duplicate]
- Convert HH:MM:SS string to seconds only in javascript
- Check if an element’s content is overflowing?
- javascript | Object grouping
- How to declare a global variable in a .js file
- Can jQuery read/write cookies to a browser?
- What does $(selector)[0] mean in jQuery?
- After installation of Gulp: “no command ‘gulp’ found”
- Should I use document.createDocumentFragment or document.createElement
- Creating functions dynamically in JS
- Implementing jQuery’s “live” binder with native Javascript
- Return value of recursive function is ‘undefined’
- Is it possible to get element’s numerical index in its parent node without looping?
- Create array of all integers between two numbers, inclusive, in Javascript/jQuery
- Can we use the value of localStorage from other domains?
- How can you read a file line by line in JavaScript?
- How to parse a string into a date object at JavaScript?
- Angularjs – simple form submit
- Convert string to Pascal Case (aka UpperCamelCase) in Javascript
- Google map multiple overlay no cumulative opacity
- javascript – Convert array to string while preserving brackets
- Super in Backbone