ok thats right but $.ajax() also do that so my problem is how safe it is to pass <script></script> through JSON and the append it to the DOM and it will be executed
On 29 Jan., 15:13, jQuery Lover <ilovejqu...@gmail.com> wrote: > Reading the plugin homepage it does not. It only encodes and decodes > JSON or am I missing anything? > > ---- > Read jQuery HowTo Resource - http://jquery-howto.blogspot.com > > > > On Thu, Jan 29, 2009 at 6:57 PM, Trend-King <i...@trend-king.de> wrote: > > > ok and thats safe for things like a sting $("#cart_info").fadeIn > > (500);setTimeout(function(){$("#cart_info").fadeOut(500)},2000); > > getted from JSON? > > > On 29 Jan., 14:51, Stephan Veigl <stephan.ve...@gmail.com> wrote: > >> hi, > > >> check out the secureEvalJSON() method of the json > >> plugin.http://code.google.com/p/jquery-json/ > > >> by(e) > >> Stephan > > >> 2009/1/29 Trend-King <i...@trend-king.de>: > > >> > Hi there another question from my, how save is it eval() data getting > >> > via JSON $.ajax() call > > >> > i want to get javascript data to be executed after JSON $.ajax() call. > > >> > or is there another way to do that?- Zitierten Text ausblenden - > > >> - Zitierten Text anzeigen -- Zitierten Text ausblenden - > > - Zitierten Text anzeigen -