PDA

View Full Version : Reading a plist with JS



Biller
4 Apr 2011, 12:03 AM
Good morning,

I'm trying to read a plist file using JS. I saw a few things with objective-C but I ask if there is any method to get data from a plist with Ext JS.

Thank you for replies.

steffenk
4 Apr 2011, 1:42 AM
you can't access files in js, you have to use a server script for transmission using AJAX.
Or if the list has json/xml format you can configure your app reading data from url.

Biller
4 Apr 2011, 3:14 AM
Thx for the answer.:D

The problem I have is about plist.

I know about AJAX but what if I want to pick from a plist some info without using Objective-C, is there a way or only with Objective-C you can get data from plists?

coolsax98
4 Apr 2011, 6:00 AM
I could be wrong but isn't a plist just an xml file? It's been awhile so I may be remembering wrong.

Biller
4 Apr 2011, 6:03 AM
I could be wrong but isn't a plist just an xml file? It's been awhile so I may be remembering wrong.

True.

Solved, thx all.