I have a problem with my json service. I am using the latest prottype
release and implemented a simple ajax query:

new Ajax.Request('message', {
                          method:'get',
                          parameters: {message: 'Hallo'},
                        onSuccess: function(transport,json){
                                var jsonanswer = json || transport.responseText;
                                alert(jsonanswer ? Object.inspect(jsonanswer) : 
'no JSON
object, answer is empty');
                                var response = transport.responseText || 'no 
response text';
                                alert('Answertext: ' + response);
                                alert(transport.getAllResponseHeaders());
                           }
                        });

It is working fine in internet explorer, but not in firefox or
chrome...

The example is deployed here: http://masschattest.appspot.com/

Any help is appreciated :)

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to