Refresh on Back


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Refresh on Back

  1. #1
    Join Date
    May 2004
    Posts
    3

    Refresh on Back

    Hi,

    I have 2 drop downs on a site, the second is dependant on which option has been chosen in the first.

    When the back button is used, it causes errors in the array and shows blank options, is there anyway that the page will reload itself once the browsers back button has been used, therefore resetting both drop downs to their original values?

    Thanks,

    Jamie

  2. #2
    Join Date
    Jun 2004
    Posts
    199
    Sounds like a Javascript/Web site question, not Java.

    But here goes - You can't really tell if the page is being accessed via back button or ... but try the onload event for the body or document (I forget which)

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