- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- HTML5
- Intel® XDK
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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()
Regards
Diego

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page