Posted By:
Hmmm_Hmmm
Posted On:
Monday, August 28, 2006 05:49 PM
Hey :) Situation: I use AJAX to reload a specific part of my page. The page loaded was parsed by PHP. I would like to run a JavaScript, after AJAX has finished loading, not before. Problem: The solution seems to be, to just implement the JavaScript consecutively, such as: onClick="someJavaScript(), loadAjax(), moreScript()" However, loadAjax() initiates the loading and goes on right away to moreScript(), without waiting for the page to finish loading. Solution: Well, that's why I'm here :) Thanks for any help... //myself
More>>
Hey :)
Situation:
I use AJAX to reload a specific part of my page. The page loaded was parsed by PHP. I would like to run a JavaScript, after AJAX has finished loading, not before.
Problem:
The solution seems to be, to just implement the JavaScript consecutively, such as:
onClick="someJavaScript(), loadAjax(), moreScript()"
However, loadAjax() initiates the loading and goes on right away to moreScript(), without waiting for the page to finish loading.
Solution:
Well, that's why I'm here :)
Thanks for any help... //myself
<<Less