If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Join Date
    Apr 2011
    Member #
    3 times
    Dear All,

    I know nothing about javascript. I am using the code below to reload a form which handles the data with php. I am reloading the form because i have 2 drop down boxes, one for country and another for locality and one select box id affecting the other. The page myform.php is also storing a variable obtained using the GET method in php.

    When i am reloading the page to load the locality data based on a particular country the variable obtained using the $_GET is being deleted and therefore i am lossing the rest of my data that was fed from the previous page.

    Can i add something to this function to keep my $_GET['id'] variable to the reloaded page?

    Thank you in advance.

    function reload(form)


    self.location='myform.php?country=' + val;



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 06:44 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: