TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Arulanand Arulanand
NA
29
504
Interval function in javascript
Jan 25 2020 10:56 PM
When i am using interval function, clearinterval not works properly.
EXAMPLE:
function pageload()
{
var url="../webapplication1/default.aspx";
var fininterval=intervla(Redirect,1000,url);
}
function Redirect()
{
if(okclick==true)
{
clearinterval(fininterval);
location.href= url;
}
}
when the okclick becomes true then the clearinterval function not clears the interval,
the Redirect function executes n times again.
Reply
Answers (
7
)
How to check particular table in datatable in c#
How to Write Query for From To To date