Bonjour
Il n'existe pas en javascript une commande qui permet de raffraichir la page. La commande qui correspond @ Actualiser ou F5 sous IE ?
J'imaginer un truc genre :
Merci de vos réponses :oops:Code:
1
2 window.refresh();
Version imprimable
Bonjour
Il n'existe pas en javascript une commande qui permet de raffraichir la page. La commande qui correspond @ Actualiser ou F5 sous IE ?
J'imaginer un truc genre :
Merci de vos réponses :oops:Code:
1
2 window.refresh();
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13 // This version of the refresh function will be invoked // for browsers that support JavaScript version 1.2 // // The argument to the location.reload function determines // if the browser should retrieve the document from the // web-server. In our example all we need to do is cause // the JavaScript block in the document body to be // re-evaluated. If we needed to pull the document from // the web-server again (such as where the document contents // change dynamically) we would pass the argument as 'true'. // window.location.reload( false );
Parfait ^^
Merci bien ;)