I need to build an application to run inside a web browser that works offline (whitout any internet connection) and store data in a way that I can after with internet connection be able to upload these data to a server.
for example for example an HTML form
<html>
<body>
<form>
Name: <input type="text" name="name" /><br />
E-mail: <input type="text" name="email" /><br />
<input type="submit" name="save" />
</form>
</body>
so when I submit this form the browser saves the data somewhere and when I be connected I can upload it to a server…
do anybody knows a way to do that??
Use local storage to save offline data. You can use AJAX (jQuery makes it easy: see here) to try to post the local storage data to your server. You may want to set an interval to post to the server.