04-27-2011 04:43 PM - edited 04-27-2011 05:19 PM
I have been testing my WebWorks SDK 2.0 app with BB 9700, and I use the following JQuery code:
// Do important stuff once only onload.
This code works fine for the 9700. It is called once and I do the necessary stuff once. However, I am now testing the same app with a BB 9800 Torch and this code is getting called twice. Has anyone seen this behavior? Do you have a solution for this? Is this a known bug?
The code is only running once in IE7 and Firefox.
Thanks very much.
Solved! Go to Solution.
04-28-2011 04:42 PM
I am not sure why, but before when the problem was occurring, I was using an ugly way of doing a few of my links in my index.html, i.e.
And for whatever reason, cleaning these up to look like the following fixed the double-load event.