setTimeout to refresh


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: setTimeout to refresh

  1. #1
    Join Date
    Aug 2005
    Posts
    8

    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.

  2. #2
    Join Date
    Aug 2005
    Posts
    8
    solved. thanks.

Similar Threads

  1. Replies: 4
    Last Post: 03-23-2006, 11:22 AM
  2. setTimeout to refresh frame
    By Tony WONG in forum Java
    Replies: 1
    Last Post: 09-24-2005, 10:40 AM
  3. how do I refresh data every x seconds...
    By John Butler in forum ASP.NET
    Replies: 9
    Last Post: 02-26-2002, 09:21 PM
  4. Close child - refresh parent
    By Nate in forum ASP.NET
    Replies: 1
    Last Post: 02-07-2001, 09:18 PM
  5. JTextPane refresh problem under jdk 1.1.8 swing 1.1.1
    By François Bélair in forum Java
    Replies: 0
    Last Post: 08-26-2000, 03: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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center