Page refresh
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="Scripts/jquery-2.1.1.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
setTimeout(function () {
window.location.reload();
}, 60 * 1 * 1000);
//Page refresh after 40 min -
//Example :- 60 * 40 * 1000
//Format:- 60 * (minute) * 1000
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
[.....]
remove only html tags in a string
var s = '<span>javascript</span> programming language'; var r = /<(\w+)[^>]*>.*<\/\1>/gi; alert(s.replace(r,"")) [.....]