setTimeout to refresh frame


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: setTimeout to refresh frame

  1. #1
    Join Date
    Aug 2005
    Posts
    8

    setTimeout to refresh frame

    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
    Jul 2005
    Location
    SW MO, USA
    Posts
    299
    Try a Javascript forum. This one's for java programming.

Similar Threads

  1. Frame Set up query
    By Jas in forum Architecture and Design
    Replies: 0
    Last Post: 10-01-2001, 06:30 AM
  2. Another Frame Question
    By Micah Nasarow in forum Web
    Replies: 1
    Last Post: 08-24-2001, 08:31 PM
  3. Replies: 0
    Last Post: 03-07-2001, 03:46 PM
  4. Frame Refresh problems
    By Robert Gelb in forum Web
    Replies: 1
    Last Post: 11-02-2000, 07:48 PM
  5. Controlling Menu from another frame
    By Moose in forum Java
    Replies: 0
    Last Post: 06-06-2000, 06:12 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