[Proto-Scripty] can evalJSON handle currency symbols like €, £, $

2011-09-02 Thread nigeke...@googlemail.com
When I download my json string, I run an alert(json) and can see the price e.g. €2.99. But when I use json.evalJSON(), the price string becomes undefined. Is this a known issue? IS there a workaround? Thanks Nigel -- You received this message because you are subscribed to the Google Groups "

[Proto-Scripty] Re: Chrome 5 refused to get unsafe header xjson

2010-09-17 Thread nigeke...@googlemail.com
to get jsonp. Nigel On Sep 16, 8:42 pm, "nigeke...@googlemail.com" wrote: > Still not working in Chrome. Still getting the same error. > > I tried with transport.responseJSON and transport.headerJSON. > > The only positive difference is that the rails webrick server now &

[Proto-Scripty] Re: Chrome 5 refused to get unsafe header xjson

2010-09-16 Thread nigeke...@googlemail.com
. This is very annoying, I appreciate your help Richard. On Sep 16, 1:46 pm, Richard Quadling wrote: > On 16 September 2010 11:21, nigeke...@googlemail.com > > wrote: > > Content-Type: application/json; > > That's the important bit. > > S

[Proto-Scripty] Re: Chrome 5 refused to get unsafe header xjson

2010-09-16 Thread nigeke...@googlemail.com
09:51:10 GMT Server: WEBrick/1.3.1 (Ruby/1.8.7/2010-01-10) X-Runtime: 114 Content-Length: 2062 Cache-Control: private, max-age=0, must-revalidate This is the header right? What do I need to do with this? Nigel On Sep 15, 6:13 pm, Richard Quadling wrote: > On 15 September 2010 16:17, n

[Proto-Scripty] Re: Chrome 5 refused to get unsafe header xjson

2010-09-15 Thread nigeke...@googlemail.com
21 at 2010-09-15 14:59:22) [OPTIONS] But by directly keying in the url to chrome Rails responds with: Processing PostsController#index to js (for y.y.y.221 at 2010-09-15 15:01:16) [GET] It's like the request is not understood by Rails.Or it is malformed somehow. It doesn't get it'

[Proto-Scripty] Chrome 5 refused to get unsafe header xjson

2010-09-15 Thread nigeke...@googlemail.com
I have the following request in my app. It works fine in Safari 5. new Ajax.Request('http://x.x.x.x:3000/posts.js', { method:'get', requestHeaders: {Accept: 'application/json'}, onSuccess: function(transport){ var response = transport

[Proto-Scripty] Re: form input not working

2010-09-12 Thread nigeke...@googlemail.com
On Sep 11, 8:46 pm, Scott Pickles wrote: > Nigel - > > Your second command to insert new begins with $('messageLbl').  Shouldn't > that begin with $(scoreForm') since you're trying to add a new input element > of type 'text'? > > Regards, &

[Proto-Scripty] Re: form input not working

2010-09-11 Thread nigeke...@googlemail.com
with > your server framework ("post[message]" should not appear in view- > source). > > You pasted so little code that I don't know whether you are doing it > or not... but either put a log statement or alert after all JS code > that needs to work, or wrap it in a tr

[Proto-Scripty] form input not working

2010-09-10 Thread nigeke...@googlemail.com
Hi I cannot get text input working on this dynamically generated form. I'm new to forms so maybe I'm missing something easy. My code is: $('ScoreScene').insert( new Element('form', { id:"scoreForm", method:"post", action:'h

[Proto-Scripty] palm pre game and phone gap

2010-03-24 Thread nigeke...@googlemail.com
Hi I've developed a game using GMP game engine, prototype and script.aculo.us for the Palm Pre. It's called Amulet and here's a youtube video link to a demo - http://www.youtube.com/watch?v=-Occo9VdAx8. I've mentioned use of all the frameworks in the store app description and in the in-game credit