PDA

View Full Version : EXT and JSON / Prototype.js



altus34
9 Jul 2007, 5:34 PM
Hi,

I search for equivalent functionality in Ext that I can have with prototype.
I search for the content type "text/javascript" in prototype equivalent in EXT.

I'll love write some JSON response like :

<?php
header('Content-Type: text/javascript; charset: UTF-8');
echo "alert('bouh !');";
?>

And my javascript be directly interpreted on the client.

Does this functionality is available in EXT (I can found the response when I read the EXT API)

Thank you for any input.

evant
9 Jul 2007, 5:59 PM
This is the wrong forum, you should be posting this in the help forum.

http://extjs.com/deploy/ext/docs/output/Ext.util.JSON.html#decode

brian.moeskau
9 Jul 2007, 6:47 PM
Closed since thread has been opened in the help forum.

http://extjs.com/forum/showthread.php?t=8977