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
"
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
&
.
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
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
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'
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
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,
&
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
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
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
10 matches
Mail list logo