Welcome To Paki Tigers Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Welcome To Paki Tigers Community


 
HomeLatest imagesSearchRegisterLog in

 

 Alter After 5 Seconds

Go down 
AuthorMessage
Admin
Admin



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

Alter After 5 Seconds Empty
PostSubject: Alter After 5 Seconds   Alter After 5 Seconds Icon_minitimeSat Oct 04, 2008 6:25 am

Hello EveryBody

This is the source to alert after 5 seconds to pressing a button

<html>
<head>
<script type="text/javascript">
function timedMsg()
{
var t=setTimeout("alert('5 seconds!')",5000);
}
</script>
</head>

<body>
<form>
<input type="button" value="Display timed alertbox!" onClick = "timedMsg()">
</form>
<p>Click on the button above. An alert box will be displayed after 5 seconds.</p>
</body>

</html>
Back to top Go down
https://paki-tigers.forumotion.com
 
Alter After 5 Seconds
Back to top 
Page 1 of 1

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: