StackOverflow user ThomasReggi was trying to load jQuery dynamically by adding a
script element from code, but couldn't use jQuery immediately. The problem with loading code like this is that you have to wait for the code to finish loading, before you can use it.
I put together a working JSFiddle with a small example, that demonstrates exactly what was expected: jsfiddle.net/9N7Z2/188/
load event on the