Thread:Slyst/@comment-25523075-20150725143609/@comment-25508186-20150725155117

Slyst wrote: Since there are no elements with the "demo" id at the time of execution, nothing happens. If you want your script tag to have a specific position, you would need to wait for the DOM to be loaded before firing anything. .ready is probably the best method for it.