AJAX driven "page complete" function? Am I doing it right?
- by Julian H. Lam
This one might get me slaughtered, since I'm pretty sure it's bad coding practice, so here goes:
I have an AJAX driven site which loads both content and javascript in one go using Mootools' Request.HTML.
Since I have initialization scripts that need to be run to finish "setting up" the template, I include those in a function called…