Jump to content

Clearinterval?


Twango
 Share

Recommended Posts

Clear interval not working. why?<script type="text/javascript" language=javascript>function doClaim(){var nc=self.setInterval("alert('go')",1000);stop=setTimeout("nc=window.clearInterval(nc)",1500);}</script><input type="button" style="color:white;background-color:red;font-size:20px;font-weight:bold" value="CLAIM PRIZES!!!" onclick="doClaim()"/>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...