I have a template loaded via ajax and template contains the following lines:
<script type="text/javascript">
alert('11');
</script>
But I don't see neither alert window not any errors. Maybe the thing is in request and response Content-type headers? Mine are following:
Response Headers:
Content-Type text/html
Request Headers:
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Content-Type application/x-www-form-urlencoded
X-Requested-With XMLHttpRequest