- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
When trying to load a new page I get the following error:-
Uncaught TypeError: Cannot read property 'loadContent' of undefined
(Anonymous Function)
My code is:-
$.afui.loadContent("uib_page_1",false,false,"slide");
Also get error:-
Uncaught TypeError: Cannot read property 'getAttribute' of null appframework.ui.min.js:46
g.load Ajax appframework.ui.min.js:46
g.loadContent appframework.ui.min.js:41
(anonymous function) app.js:98
- Balises:
- HTML5
- Intel® XDK
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I suggest trying to evaluate your application using the debugging functionality within the Emulate, Test or Debug tab. When mixing manual code with the designed-created code, you will have to try multiple id configurations as the design-created code creates nested elements.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I have done that, that is where the error is coming from the debug console.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
It looks like your App Framework JS files are not getting loaded. Are you trying to load them via a CDN or other network location? Make sure they are local files in your app project directory (within the www folder) and load them as local files in index.html file, do not load them over the network.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Paul
This is a new project created from a blank template in XDK. I gave not changed anything or done anything different from any other project. All files are located locally on the dev PC.

- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable