Hello,
I'm working on a small site that I would like to change a little bit so it is more dynamic. The index .html is something like
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
...
</head>
<body>
<div id="page">
<div id="header"></div>
<div id="main">
<div id="menu"></div>
<div id="content"></div>
</div>
<div id="footer"></div>
</div>
</body>
<html>
I use jQuery and for example I load a "menu.html" file in the "menu" div. Menu.html is something like:
<ul>
<li><a id="item1">item 1</a></li>
<li><a id="item2">item 2</a></li>
</ul>
With JQuery I have added some code so that when clicking on the "item1" link then a item1.html file is loaded in the "content" div. This works fine except that I do not get any accents from menu1.html (I have some '?' instead).
The item1.html is something like:
Hello, this is my file
c'est un <strong>fichier</strong> avec des accents à, é
I do not have any html, body tags in those files (there are only there in the index.html).
Could you please help ?
Thanks a lot,
Luc