Wednesday, November 20, 2013

JavaScript Count Down Timer



<!-- Javascript Timer Start-->
<span style="font-size:xx-large;font-family: arial;" >
<span id="spMin">00</span>:<span id="spSec">00</span>
</span>
</font>
<script type="text/javascript">
var countSec=0;
var countMin=5;
function UpdatTimer(){
if(countSec<10)
$('#spSec').text('0'+countSec);
else
$('#spSec').text(countSec);
if(countMin<10)
$('#spMin').text('0'+countMin);
else
$('#spMin').text(countMin);

countSec=countSec-1;

if(countSec<=0)
{
countMin=countMin-1;
countSec=59;
}

if(countMin==0)
{
$('#spSec').text('00');
$('#spMin').text('00');
clearInterval(intTimer);
//Timeout do your functionality
}
}
UpdatTimer();
var  intTimer = setInterval(UpdatTimer,1000);
</script>
<!-- Javascript Timer End-->


Shahzad Afzal
http://www.pakistanprobe.com/


Read More >>

Monday, November 4, 2013

SharePoint 2010 failed to delete usage log file the process cannot access the file because it is being used by another process

Hi All,

Error: 
SharePoint 2010 failed to delete usage log file the process cannot access the file because it is being used by another process

Reason:
Some of the .usage file may be gets locked by SharePoint 2010 Timer service 

Resolution:
Restart the "SharePoint 2010 Timer" Service 

Demo:
1. Go to run  or Press "Window + R"
2. Type services.msc
3. Scroll to "SharePoint 2010 Timer" service
4. Right click and select Restart 

Regards,
Shahzad



Read More >>

Popular Posts