JavaScript makes me want to cry

I spent about 3 hours today trying to figure out why some little piece of script (in amongst some other masses of script) wasn’t running. I think it ultimately came down to the difference between;


<script…. />

I know I’m a long way from being any good at Javascript so someone with experience would find these kinds of problems straight away but please tell me that this is not meant to be the future of software development where we effectively do #includes of some massive lump of code at runtime.


As an aside, I think I’ve done this before 🙂

As a second aside, it was ultimately the developer tools in IE8 that sorted it out for me so thanks to those 🙂