1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Rep Power
    I've created two Select boxes for selecting a country and a state/province for the users to fill in their addresses on a form. The values for the state/province box are dynamically modified using JavaScript depends on the country the users had selected. Everything is working perfectly in MS IE. The problem is that in NetScape I will have to use window.history.go(0) to refresh the page. This would normally work in a html page. However, with a PHP page, the entire PHP script would be refresh and anything entered in the form would be blank out. Does anybody have a way around this problem?
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Rep Power
    Find out a soultion in java script itself.

    just get the value from the text boxes and assign the value again in to the text box.
    some thing like...
    include this in your javascript function.so it will be preserving the values...

    SR -
    www.jobxyz.com-IT Career Portal

    "The fear of the LORD is the beginning of knowledge..."

Similar Threads

  1. Updating text fields from dynamic SQL select box?
    By Trent Hatred in forum HTML Programming
    Replies: 3
    Last Post: February 6th, 2004, 10:34 AM
  2. retrieving data from a drop down box for modifying
    By swordfishy in forum PHP Development
    Replies: 0
    Last Post: January 18th, 2004, 08:07 PM
  3. Naming a SELECT box with setAttribute() issue
    By vbrtrmn in forum HTML Programming
    Replies: 1
    Last Post: January 15th, 2004, 01:21 PM
  4. displaying mysql result in a select box
    By notaloser in forum PHP Development
    Replies: 4
    Last Post: January 13th, 2004, 05:30 PM
  5. Dynamically inserting an onChange into a select
    By Janus081 in forum HTML Programming
    Replies: 3
    Last Post: January 12th, 2004, 11:06 AM

IMN logo majestic logo threadwatch logo seochat tools logo