permaculture playing cards*
The moose likes HTML, CSS and JavaScript and the fly likes Json Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Json" Watch "Json" New topic
Author

Json

Arunkumar Chinnadurai
Ranch Hand

Joined: Dec 15, 2011
Posts: 56

Hai all,


I`m doing simple offline chat application., i have stored data in json object and persist to a json file,
i do not know how to retrieve the json object from .js file

this is my code :




if i`m restore the old contents also be json object only.please give me a suggestions to overcome this.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60739
    
  65

Ajax


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Json
 
Similar Threads
fixed header, problem with alignment, must support all browsers
Absolute div dynamically appended to body element
changing link background image dynamically
JSP Page to know what it does
white-space nowrap and DOCTYPE