[Web2.0] Caricare javascript attrverso ajax

Davide Michel 'ZioBudda' Morelli michel a ziobudda.net
Mer 16 Maggio 2007 00:13:41 CEST


Cesare D'Amico ha scritto:
> Se non ricordo male, con prototype è possibile impostare un attributo 
> per fare in modo che eventuali js contenuti nella risposta vengano 
> eseguiti (ma suppongo che internamente usi eval() ;) )
>   
Evaluates the JSON in the string and returns the resulting object. If 
the optional sanitize parameter is set
to true, the string is checked for possible malicious attempts and eval 
is not called if one is detected.
If the JSON string is not well formated or if a malicious attempt is 
detected a SyntaxError is thrown.

M.

-- 
Michel 'ZioBudda' Morelli                       michel a ziobudda.net
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: +39-3939890025 --  Fax: +39-0291390660

http://www.ziobudda.net                         ICQ: 58351764  
http://www.ziobuddalabs.it                      Skype: zio_budda
http://www.ajaxblog.it        			MSN: michel a ziobuddalabs.it                   



Maggiori informazioni sulla lista Web2.0