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', {
                          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);

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

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 
For more options, visit this group at 

Reply via email to