Questions tagged [jstorage]

jStorage is a cross-browser key-value store database to store data locally in the browser - jStorage supports all major browsers, both in desktop and in mobile.

jStorage supports storing Strings, Numbers, JavaScript objects, Arrays and even native XML nodes. jStorage also supports setting TTL values for auto expiring stored keys and - best of all - notifying other tabs/windows when a key has been changed or publishing/subscribing to events from the same or another tab/window, which makes jStorage also a local PubSub platform for web applications.

jStorage is pretty small, about 7kB when minified and 4kB gzipped.

http://www.jstorage.info/

35 questions
8
votes
1 answer

cross domain reading data from browser storage

I am trying to store data with a unique ID into the browser's storage, from say a.com using jStorage and jQuery. I am then trying to read the data using the unique ID from, say b.com. But jStorage.get('UniqueID') is not working, and it's not showing…
user1504657
  • 81
  • 1
  • 3
4
votes
1 answer

Jquery jstorage issue on IE8?

i am using jquery jstorage in my jsp importing statement here is i am setting the value in jstorage var customerId = $.jStorage.get("customerId",…
M Sach
  • 33,416
  • 76
  • 221
  • 314
3
votes
0 answers

jStorage doesn't work in IE runned by Selenium

I use jStorage to synchronize tabs in IE. When I try to test it with Selenium WebDriver, it does not work. So, this lines $.jStorage.subscribe('test', function () {alert('test');}); $.jStorage.publish('test') does work in manually runned IE and…
3
votes
1 answer

Set and get value of input with jStorage

I'm using jStorage to store the value of an input, when I click the save button. Then I want to set the stored value as the current input value on page load. It ain't working too well though. HTML
colmtuite
  • 4,311
  • 11
  • 45
  • 67
2
votes
1 answer

Getting Angular to work with a Moodle webservice

I am building an application to get Json data from a Moodle web service, and using AngularJs to display the data in the app. There are multiple functions on the Moodle webservice, so I need multiple controllers in the Angular app. I am using Visual…
Yvonne Aburrow
  • 2,602
  • 1
  • 17
  • 47
2
votes
2 answers

How to Store large data in Javascript cookies

Hi I am new to Java Script and have a scenario I want to store some data on javascript cookies. the probelm is javascript cookies can store only 4 KB of data. Looking for an alternate i found out jStorage and local-storage but these are not…
Sonali Kakade
  • 21
  • 1
  • 2
2
votes
0 answers

How can I make persistent cache in an android application with a webview (xwalkView)?

I use jStorage.js to manage the local storage in a web app. I run this web app in a web view built with Crosswalk. I start app and fill local storage with set function of jStorage. When I restart the app, local storage is empty. Any suggest? This is…
2
votes
1 answer

How to Save a Selection List Choice in jStorage

I have an app I'm developing (still) and asked a question recently about how to Save a Selection List Choice in JavaScript. I have since then been introduced to jStorage, an extension of jQuery which I have been using for my code. I was wondering if…
user1703470
2
votes
1 answer

Iterate over a collection of keys stored in the localStorage via jStorage library

How to iterate over a collection of keys stored in the localStorage using jStorage API ?
Rajat Gupta
  • 25,853
  • 63
  • 179
  • 294
1
vote
1 answer

jStorage- TypeError: Cannot read property 'set' of undefined

I have installed jquery and jStorage as npm i --save jstorage (https://www.npmjs.com/package/jstorage) and npm i --save jQuery. I am trying to use jStorage and set value but getting error as :- TypeError: Cannot read property 'set' of…
Mahi
  • 3,748
  • 4
  • 35
  • 70
1
vote
2 answers

JavaScript: Keep methods after serialization

I am stuck with a greater JavaScript application (using jQuery Mobile) with big parts of the program logic realized already. Now I want to add serialization to it (using a plugin called JStorage). In this code example, I stringify an object to JSON…
1
vote
2 answers

Options to store data on desktop, using webpage

Goal: To sum it up, I'm trying to replace an excel spreadsheet. I'm creating an application that will run in IE9, but does not connect to the internet or an intranet (I know, I know. Just bear with me. If you're curious read more below). It needs to…
Aaron Thomas
  • 5,054
  • 8
  • 43
  • 89
1
vote
1 answer

jScript debugger error, in simple script

I'm working on a local html file, stored on a Win7 machine and opened in IE 9. This html file uses javascript and jStorage. However, when I run, I get the error "SCRIPT5007: Unable to get value of the property 'set': object is null or undefined."…
Aaron Thomas
  • 5,054
  • 8
  • 43
  • 89
1
vote
2 answers

AJAX parse big amount of JSON and store in localStorage

I am building an app that should be able to work offline. I am using jQuery Mobile, PHP, MySQL and jStorage in order to easily use HTML5 localStorage I am trying to figure out the best way to download the data into the local device localStorage and…
Martin
  • 1,066
  • 3
  • 20
  • 36
1
vote
0 answers

Call C# code behind function from jstorage

I am using the below code to store data using jstorage. i can;t understand what is load_data_from_server(). Please help me to call a code behind function from jstorage
user2176150
  • 303
  • 3
  • 12
  • 21
1
2 3