I'm trying to add an 'aftertransition' event listener to a page
section so that when the section slides in, it makes an ajax call.
This works perfectly in Safari, but when I test it in Firefox the data
doesn't load into the new section. You can see in this example:

var gamesElement=document.getElementById('games'); //Line 33

gamesElement.addEventListener('aftertransition', function(event) {   //
Line  34
        getAthleticGamesAndScores();
});

in the Firefox, this is the error message I'm receiving:

"uncaught exception: [Exception... "Not enough arguments" nsresult:
"0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame ::
http://web.adelphi.edu/scott/mobile/athletics.php#_games ::
anonymous :: line 34" data: no]"

Has anyone come across this error in FF? if so, is there a workaround?

Any insight would be appreciated.

- Scott

--

You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.


Reply via email to