I have my web pages that are using web services via atlas technology. when page loads users can click on the links but get error because page has not been loaded yet. How do I know that page loaded on atlas? How do I know that procies are created? can someone provide me some working javascript or what ever is possible to detect it?
thanks and greately appreaciated
Hi,just hook up the load event raised by the global Sys.Application instance. Here's the code to add to your page:
<script type="text/javascript">
<!--
function onLoad() {
// Put your Atlas stuff here.
}
//-->
</script>
<script type="text/xml-script">
<page>
<components>
<application load="onLoad" />
</components>
</page>
</script>
The above code will call the onLoad function (it's a javascript function that you have to define) when all the framework stuff is initialized.
No comments:
Post a Comment