Multi-page and service invocation from js
Hi,
Based on the fact that I writing a small app (3 pages), want faster page loads and know the capabilities of my target platform, I think I've decided to re-write things for a multi-page template.
At the moment, I using onloads on pages to fire functions, though with multipage there's only one call at the start of the app, so I'll need to work things differently.
So I'm thinking, click button, show page (via js) and run service (via js).
I think I read somewhere that a service instance has to be present on a page, in order to be invoked from Javascript, but is this true for multi-page and would the above sequence actually work as the service is invoked after another page is shown?
Thanks,
Dale.