Код: Выделить всё
Accueil
HEELLLO
$(document).ready(function () {
function f(responseTxt, statusTxt, xhr) {
if (statusTxt == "success")
console.log("External content loaded successfully!");
if (statusTxt == "error")
console.log("Error: " + xhr.status + ": " + xhr.statusText);
}
$("#header").load("header.html", function (responseTxt, statusTxt, xhr) {
f(responseTxt, statusTxt, xhr);
});
});
Код: Выделить всё
Se connecter
document.getElementById("loginButton").onclick = function () {
$("#main").load("logIn.html");
};
Подробнее здесь: https://stackoverflow.com/questions/797 ... ot-working
Мобильная версия