SCRIPT5009: “$” is undefined in IE7 & IE8

There is

SCRIPT5009: '$' is undefined

document.write("<script type='text/javascript' src='//'><\/script>");

 var $jQueyobject = $;

with jQuery 1.10.2 in IE7 & IE8 . Why '$' is undefined in IE7 & IE8 ?

it working fine in chrome & FF

Thanks in advance


This is a 'security' feature, intended to stop script injection.

The workaround is to concatenate parts of the script tag string together. Try this:

document.write("<scr" + "ipt type='text/javascript' src='//'></scr" + "ipt>");

The newly created script tag is added after the script tag wherein you create the new one. Hence $ will be undefined. You need to separate your code into two script tags:

    var $jQueyobject = $;

make sure all script loaded first and put it inside html tag.

<html xmlns="">
<script type='text/javascript' src='//'></script>

Need Your Help

Getting libstdc++-v3/python

c++ python svn download gdb

I am trying to download libstdc++-v3/python to enable pretty printing of stl containers. However, my provider returns: svn: Unknown hostname '' error. This is the command:

exception :Hibernate No configuration found

java hibernate caching orm ehcache

Application is trying to load ehcache.xml but could not find the file so then it loads ehcache-failsafe.xml. I would like to know does this cause any problem to application?