Quantcast
Channel: AJAX driven "page complete" function? Am I doing it right? - Software Engineering Stack Exchange
Browsing latest articles
Browse All 4 View Live

Answer by Izkata for AJAX driven "page complete" function? Am I doing it right?

I see no purpose for pageComplete() in your example. You already have evalScripts set to true.I doubt this concept would even work, because the browser is unlikely to have parsed html and inserted the...

View Article



Answer by user281377 for AJAX driven "page complete" function? Am I doing it...

You could place a line like pageComplete=function(){};somewhere in the code to make sure that the old function is not called for the new page. Possible places would be: First line of loadPageFirst line...

View Article

Answer by matt b for AJAX driven "page complete" function? Am I doing it right?

You need a way for loadPage() to know when the user has taken some action which should effectively cancel the loading of the first page. For example, if they click on a "page 1" button and you call...

View Article

AJAX driven "page complete" function? Am I doing it right?

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...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images