... print "Content-type: text/javascript\n"; print "X-JSON:$js\n\n";
However, it has been pointed out that IE doesn't like large headers, so it is probably best to return the JSON object in the response body and eval it for oneself.
-=( Graq )=-
In reply to Re: [OT] Syntax for: AJAX Prototype JSON response
by graq
in thread [OT] Syntax for: AJAX Prototype JSON response
by graq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |