Bonjour,
J'utilise cet script pour charger une page dans un autre page
ça marche très bien sauf que si je fait CTRL+U j'ai pas la source html de ma page alors que j'en ai besoin pour un autre utilisationCode:
1
2
3
4
5
6
7
8
9
10 $(document).ready(function() { $.ajax({ url : "http://localhost/monpage.html", dataType: 'html', success : function (data) { $("#mondiv").html(data); } }); });
Est ce qu'il existe un moyen de ne pas perdre le source quand on load un page en jquery
j'ai utilisé l'iframe mais c'est la même
J'ai aussi tenter de faire
mais je perd la sourceCode:
1
2
3
4
5 $('#mondiv').load("http://localhost/monpage.html", function() { //implementation });
Merci pour votre aide