我在struts中的一个页面想通过json加载另一个页面,如:
new Ajax.Request('cat.action',{
                  method: 'get',
                  onSuccess: function(req){

                         $('left').innerHTML = req.responseText;

                 }});
req.responseText是所要返回的页面,此页面中需要用到script代码,为何script代码不起作用?为什么json加载的页面中不可以用script代码呢???