Question: In my page there is two links, register and login.

The important one now is register. When I click it, it loads a .tpl file using jquery load function. In this tpl file I include a new js file with `<script>` ofcourse, and it works perfectly in safari, ff, opera and chrome, but of course, Why should it be working in IE?

*So my question is, what should I do to make it working in IE? I think if I put the js in the .tpl file that would solve my problem, but if there is a better solution, I'd like to hear it. No this didn't help, so I guess there is no solution : D*

Now I tried it with a simple alert, it worked perfectly.

My problem has changed. If there is a `$(document).ready` in the JS file the IE "ignores" the whole script, but if there isn't it works perfectly. The thing is that i need that document ready. : D

Thanks.

Answer: 
Make sure that the script tag is not in this form:

```
<script ... />

```

IE only accepts:

```
<script>...</script>

```
IE considers injection of script tags as a security issue. Change the script tag to:

```
document.write("<scri" + "pt src=...></scri" + "pt>");

```