Source language: Translate to:

onPageLoad

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

onPageLoad

Postby luishp » Fri Feb 13, 2015 12:22 am

I have found a workaround to the onPageLoad event.
The current page-enter event is fired before the page elements are ready.
It's possible to catch the event after the elements are ready adding the following code to a html Container object property:
Code: Select all
<script>
$(document).ready(function() {
      alert("document ready occurred!");
});
</script>

Hope it helps
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
luishp
 
Posts: 361
Joined: Wed May 23, 2007 10:17 am
Location: Spain

Re: onPageLoad

Postby luishp » Fri Feb 13, 2015 2:56 am

Further testing on this shows i does not work very well :-(
Unfortunately the </script> tag closes the Angular <script> tag to load the template.
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
luishp
 
Posts: 361
Joined: Wed May 23, 2007 10:17 am
Location: Spain

Re: onPageLoad

Postby Neosoft Support » Fri Feb 13, 2015 12:41 pm

I will look into changing the page enter action so that it fires after the page is fully loaded.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5605
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: No registered users and 1 guest