I want to blink a label on page load,how should I do it.Suppose there is a counter first it is initialized to zero,till the counter value becomes 24 it should blink i.e show-hide-show how should I do this? Please guide me,the below code which I have written.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication3.WebForm1" %>
function Blink() {
var i = 0;
var s;
var h;
for (i = 0; i < 25; i++) {
j = setInterval(Show, 1);
s=setInterval(Hide,2);
}
clearInterval(s);
clearInterval(h);
}
function Hide() {
$("#lblBlink").hide();
}
function Show() {
$("#lblBlink").show();
}

Vicky BhattPosted Aug 13, 2015, 10:02 AM