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
ronak chittora
NA
31
20.8k
Autofresh
Dec 13 2013 3:21 AM
<html>
<head>
<title>Stop watch</title>
<script language="javascript">
function start1()
{
time=parseInt(document.getElementById("txt2").value);
time=time*60000;
t2=setTimeout("start()",time);
}
function stop()
{
clearTimeout(t1);
}
function start()
{
window.open("https://1.1.1.1/login.html?buttonClicked=4&err_flag=0&err_msg=&info_flag=0&info_msg=&redirect_url=&
username=RC231289&password=CSW8L1Z9");
document.getElementById("txt").value=Date();
document.getElementById("txt1").value=document.getElementById("txt1").value+Date()
+"\n";
t1=setTimeout("start()",1809000);
}
</script>
</head>
<body>
<form name="f1" width=200 >
<table>
<tr>
<td><input type="Button" name="bt1" value="Start" onclick="start();" style="width: 200px; height: 50px;">
<input type="Button" name="bt1" value="Stop" onclick="stop();" ></td>
<td><input type="text" name="txt" id="txt" style="width: 452px; height: 50px;" disabled=true>
<b>:Last Attempt</b></td>
</tr>
<tr>
<td valign=top><h3>You have Logd in at these Time</h3><br></td>
<td><textarea name="txt1" id="txt1" style="width: 452px; height: 324px;resize:none;" disabled=true>
</textarea></td>
</tr>
<tr height=250 valign="Bottom">
<td><input type="Button" name="bt2" value="Resume" onclick="start1();"
style="width: 200px; height: 50px;"></td>
<td><input type="text" name="txt2" id="txt2" style="width: 452px; height: 50px;">
<b>Alternate Timing</b></td>
</tr>
</table>
</form>
</body>
</html>
this is the code i have return for login to my account using internet and i want to auto-refresh it automatically after 29mins ..........so how can i do???
Reply
Answers (
2
)
CSS Class
How to enlarge a image on mouse click?