Your Account

Community

Topics (Upcoming)

More

View story

2
0
Symfony: return javascript response
http://feedproxy.google.com/~r/symfony/planet/~3/jDyuhREVmwk...
Submitted by narko 5 months, 12 hours ago
This is an old trick, but I still find it useful and will post it here in case it will help other symfony developers out there. If you are using the prototype.js library for your ajax requests, the Ajax.Request (and similar) utility methods will automatically evaluate the server’s response as javascript if the response has the ‘text/javascript’ content-type header...
Tags: symfony

« go back

Home | Tools | Help & FAQ | About SymfonyLab | Contact us

Âé SymfonyLab 2007

Powered by coRank.com