Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Luca_P_
Beginner
58 Views

intel xdk - include snippets

Hi,

I'm trying to include html snippets in two pages in a xdk projects, but not work:

<div w3-includee-html="snippet.html"></div>

how can I do to include it?

Luca

Tags (2)
0 Kudos
1 Reply
Diego_Calp
Valued Contributor I
58 Views

Hi Luca,

Did you add w3data.js and call the include function? This is the way to do it:

https://www.w3schools.com/w3css/w3data_includes.asp

An alternative way may be to use jquery .load()

http://api.jquery.com/load/

Regards

Diego

Reply