Welcome To Paki Tigers Community


 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Another Timer Source

Go down 
AuthorMessage
Admin
Admin


Posts : 102
Join date : 2008-09-25
Age : 28
Location : Pakistan

PostSubject: Another Timer Source   Sat Oct 04, 2008 6:28 am

Hello Every Body


This is another timer source

<html>
<head>
<script type="text/javascript">
function timedText()
{
var t1=setTimeout("document.getElementById('txt').value='2 seconds!'",2000);
var t2=setTimeout("document.getElementById('txt').value='4 seconds!'",4000);
var t3=setTimeout("document.getElementById('txt').value='6 seconds!'",6000);
}
</script>
</head>

<body>
<form>
<input type="button" value="Display timed text!" onClick="timedText()">
<input type="text" id="txt">
</form>
<p>Click on the button above. The input field will tell you when two, four, and six seconds have passed.</p>
</body>

</html>
Back to top Go down
View user profile http://paki-tigers.forumotion.com
 
Another Timer Source
Back to top 
Page 1 of 1
 Similar topics
-
» Digital 3 in 1 Timer
» How to store a HTML comment in selenium
» Pass multiple test data record to run test suite recursively
» Where is the TakesScreenshot.getScreenshotAs implementation
» My final migraine food trigger found: tannins

Permissions in this forum:You cannot reply to topics in this forum
Welcome To Paki Tigers Community :: Programming / Designing / Source Code :: Html, Java Script & Css-
Jump to: