-
setTimeout to refresh
there is a function to refresh the frame
function ABC()
{
window.parent.mainFrame.location.reload();
}
<input type="submit" name="submitvalue" value="send" onclick="setTimeout('ABC()',2000)">
<input type="button" value="refresh" onclick="setTimeout('ABC()',2000)">
it only works in button type, the submit type is failed.
how can i do to refresh the frame after 2 second after submit? thanks a lot.
-
Similar Threads
-
By Nenad Kermeci in forum ASP.NET
Replies: 4
Last Post: 03-23-2006, 10:22 AM
-
By Tony WONG in forum Java
Replies: 1
Last Post: 09-24-2005, 09:40 AM
-
By John Butler in forum ASP.NET
Replies: 9
Last Post: 02-26-2002, 08:21 PM
-
Replies: 1
Last Post: 02-07-2001, 08:18 PM
-
By François Bélair in forum Java
Replies: 0
Last Post: 08-26-2000, 02:19 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks