one of those things…


I’m working on my website and i got a very weird error… for some reason all the javascripts on my page were being re-loaded when i attempted to load some module via ajax… it was very weird…

then, after some code sniffing, i found the error… i forgot to close a DIV tag, so i was appending that DIV to the BODY and because it was open, it was eating all the page, so i was actually adding all the body to itself again, meaning, all the SCRIPTS tags were adding itself again, hence the reload (im using jquery)

Anyway… back to coding…

Advertisements