Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
Hello Raj,
Try to this code.
<html>
<head>
<title>Refresh or Reload a Page Using JQuery</title>
<script> type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"> </script>
</head>
<body>
<div><input id="btReload" type="button" value="Reload Page" /></div>
</body>
<script> type="text/javascript">
$(document).ready(function() {
$('#btReload').click(function() { location.reload(true); }); // RELOAD PAGE ON BUTTON CLICK EVENT.
// SET AUTOMATIC PAGE RELOAD TIME TO 5000 MILISECONDS (5 SECONDS).
setInterval('refreshPage()', 5000);
});
function refreshPage()
{ location.reload(); }
</script>
</html>
I hope it is very useful to you.
Thanks.
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire