Javascript generate select list value not available in the next page
<p>Below is code for a page to grab some user input and the SELECT List/Dropdown date are generated by the script mentioned in the code. Script works and populates the dropdown with date for next 90 dates based on current date.</p>

<p>Issue with this script is that i cant catch the value of this dropdown using PHP script as the "Select List is dynamically generate and is not visible in the HTML Source. I am not sure how to grab the value of ddDate dropdown in another page</p>

<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;script src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js' type='text/javascript'&gt;&lt;/script&gt;

&lt;link href="css.css" rel="stylesheet" type="text/css" /&gt;
&lt;script&gt;
$(function(){
    function pad(n){return n&lt;10 ? '0'+n : n}
    var date = new Date();
    var selectElement = $('&lt;select name="ddDate" class="ddDate" &gt;'), optionElement;
    for (var count =0; count &lt; 90; count++){
        formattedDate = pad(date.getUTCDate()) + '-' + pad(date.getUTCMonth()+1) + '-' +  date.getUTCFullYear();
        optionElement = $('&lt;option&gt;')
        optionElement.attr('value',formattedDate);
        optionElement.text(formattedDate);
        selectElement.append(optionElement);
        date.setDate(date.getDate() + 1);
    }
    $('#ddDate').append(selectElement);
});

function validateForm()
{
var x=document.forms["myForm"]["txtFN"].value;
if (x==null || x=="")
  {
  alert("First name is required");
  return false;
  }

  var y=document.forms["myForm"]["txtLN"].value;
if (y==null || y=="")
  {
  alert("Last name is required");
  return false;
  }

  var z=document.forms["myForm"]["txtEmail1"].value;
if (z==null || z=="")
  {
  alert("Email addres is required");
  return false;
  }

  var a=document.forms["myForm"]["txtEmail2"].value;
if (a==null || a=="")
  {
  alert("Confirm email is required");
  return false;
  }

  if (z != a)
  {
        alert("Email address don't match");
  return false;
  }

  var v=document.forms["myForm"]["txtVisitorNo"].value;
  if (v==null || v=="")
  {
  alert("Enter value number of visitors");
  return false;
  }

    var vv=document.forms["myForm"]["txtVisitorNo"].value;
  if (vv &lt; 1)
  {
  alert("Enter valid number of visitors");
  return false;
  }



  return true;
}

&lt;/script&gt;

&lt;/head&gt;

&lt;body &gt;
&lt;form name="myForm" action="bookingFormNext.php" onsubmit="return validateForm()" method="post"&gt;

&lt;table dir="ltr"  width="100%"height="760px" border="0" cellpadding="0" cellspacing="0"&gt;
  &lt;tr&gt;
    &lt;td align="center"   valign="middle" background="Images/bg-img.gif" &gt;

   &lt;table  width="882"height="630" border="0" cellpadding="0" cellspacing="0"&gt;
     &lt;tr bgcolor="#FFFFFF"&gt;
        &lt;td width="203" align="left" valign="top"&gt;&lt;img src="Images/LeftBarImage.png"            width="203" height="630" alt="" /&gt;&lt;/td&gt;
        &lt;td width="38" align="left" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
        &lt;td width="450" align="left" valign="top"&gt;

        &lt;table width="100%" border="0"&gt;

          &lt;tr&gt;
            &lt;td width="25%"&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td colspan="3"&gt;&amp;nbsp;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td colspan="4" class="Title"&gt;&lt;br /&gt;
              MOSQUE AND CENTRE&lt;/td&gt;
            &lt;/tr&gt;

          &lt;tr&gt;
            &lt;td height="40px" colspan="4" class="TitleBlue"&gt;BOOKING FORM&lt;/td&gt;
            &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td colspan="4" height="25px" class="TextBlue"&gt;Fields marked with * are mandatory&lt;/td&gt;
            &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td colspan="4" height="5px" &gt;&lt;/td&gt;

            &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td class="labels" &gt;First Name:&lt;/td&gt;
            &lt;td colspan="3"&gt;&lt;input name="txtFN" type="text" class="TextBox" id="txtFN" /&gt; 
            &amp;nbsp;*
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td class="labels"&gt;Last Name:&lt;/td&gt;

            &lt;td colspan="3"&gt;&lt;input name="txtLN" type="text" class="TextBox" id="txtFN2" /&gt;
              &amp;nbsp;* &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td class="labels"&gt;Email:&lt;/td&gt;
            &lt;td colspan="3"&gt;&lt;input name="txtEmail1" type="text" class="TextBox" id="txtFN3" /&gt;
              &amp;nbsp;* &lt;/td&gt;

          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td class="labels"&gt;Confirm Email:&lt;/td&gt;
            &lt;td colspan="3"&gt;&lt;input name="txtEmail2" type="text" class="TextBox" id="txtFN4" /&gt;
              &amp;nbsp;* &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td class="labels"&gt;Country:&lt;/td&gt;

            &lt;td colspan="3"&gt;

&lt;select class="ddCountry" id="ddCountries" name="ddCountries"&gt;
    &lt;option value="" selected&gt;Please Select a Country&lt;/option&gt;
    &lt;option value="Afghanistan"&gt;Afghanistan&lt;/option&gt;
    &lt;option value="Åland Islands"&gt;Åland Islands&lt;/option&gt;
    &lt;option value="Albania"&gt;Albania&lt;/option&gt;
    &lt;option value="Algeria"&gt;Algeria&lt;/option&gt;

    &lt;option value="American Samoa"&gt;American Samoa&lt;/option&gt;
    &lt;option value="Andorra"&gt;Andorra&lt;/option&gt;
    &lt;option value="Angola"&gt;Angola&lt;/option&gt;
    &lt;option value="Anguilla"&gt;Anguilla&lt;/option&gt;
    &lt;option value="Antarctica"&gt;Antarctica&lt;/option&gt;
    &lt;option value="Antigua and Barbuda"&gt;Antigua and Barbuda&lt;/option&gt;

    &lt;option value="Argentina"&gt;Argentina&lt;/option&gt;
    &lt;option value="Armenia"&gt;Armenia&lt;/option&gt;
    &lt;option value="Aruba"&gt;Aruba&lt;/option&gt;
    &lt;option value="Australia"&gt;Australia&lt;/option&gt;
    &lt;option value="Austria"&gt;Austria&lt;/option&gt;
    &lt;option value="Azerbaijan"&gt;Azerbaijan&lt;/option&gt;

    &lt;option value="Bahamas"&gt;Bahamas&lt;/option&gt;
    &lt;option value="Bahrain"&gt;Bahrain&lt;/option&gt;
    &lt;option value="Bangladesh"&gt;Bangladesh&lt;/option&gt;
    &lt;option value="Barbados"&gt;Barbados&lt;/option&gt;
    &lt;option value="Belarus"&gt;Belarus&lt;/option&gt;
    &lt;option value="Belgium"&gt;Belgium&lt;/option&gt;

    &lt;option value="Belize"&gt;Belize&lt;/option&gt;
    &lt;option value="Benin"&gt;Benin&lt;/option&gt;
    &lt;option value="Bermuda"&gt;Bermuda&lt;/option&gt;
    &lt;option value="Bhutan"&gt;Bhutan&lt;/option&gt;
    &lt;option value="Bolivia"&gt;Bolivia&lt;/option&gt;
    &lt;option value="Bosnia and Herzegovina"&gt;Bosnia and Herzegovina&lt;/option&gt;

    &lt;option value="Botswana"&gt;Botswana&lt;/option&gt;
    &lt;option value="Bouvet Island"&gt;Bouvet Island&lt;/option&gt;
    &lt;option value="Brazil"&gt;Brazil&lt;/option&gt;
    &lt;option value="British Indian Ocean Territory"&gt;British Indian Ocean Territory&lt;/option&gt;
    &lt;option value="Brunei Darussalam"&gt;Brunei Darussalam&lt;/option&gt;
    &lt;option value="Bulgaria"&gt;Bulgaria&lt;/option&gt;

    &lt;option value="Burkina Faso"&gt;Burkina Faso&lt;/option&gt;
    &lt;option value="Burundi"&gt;Burundi&lt;/option&gt;
    &lt;option value="Cambodia"&gt;Cambodia&lt;/option&gt;
    &lt;option value="Cameroon"&gt;Cameroon&lt;/option&gt;
    &lt;option value="Canada"&gt;Canada&lt;/option&gt;
    &lt;option value="Cape Verde"&gt;Cape Verde&lt;/option&gt;

    &lt;option value="Cayman Islands"&gt;Cayman Islands&lt;/option&gt;
    &lt;option value="Central African Republic"&gt;Central African Republic&lt;/option&gt;
    &lt;option value="Chad"&gt;Chad&lt;/option&gt;
    &lt;option value="Chile"&gt;Chile&lt;/option&gt;
    &lt;option value="China"&gt;China&lt;/option&gt;
    &lt;option value="Christmas Island"&gt;Christmas Island&lt;/option&gt;

    &lt;option value="Cocos (Keeling) Islands"&gt;Cocos (Keeling) Islands&lt;/option&gt;
    &lt;option value="Colombia"&gt;Colombia&lt;/option&gt;
    &lt;option value="Comoros"&gt;Comoros&lt;/option&gt;
    &lt;option value="Congo"&gt;Congo&lt;/option&gt;
    &lt;option value="Congo, The Democratic Republic of The"&gt;Congo, The Democratic Republic of The&lt;/option&gt;
    &lt;option value="Cook Islands"&gt;Cook Islands&lt;/option&gt;

    &lt;option value="Costa Rica"&gt;Costa Rica&lt;/option&gt;
    &lt;option value="Cote D'ivoire"&gt;Cote D'ivoire&lt;/option&gt;
    &lt;option value="Croatia"&gt;Croatia&lt;/option&gt;
    &lt;option value="Cuba"&gt;Cuba&lt;/option&gt;
    &lt;option value="Cyprus"&gt;Cyprus&lt;/option&gt;
    &lt;option value="Czech Republic"&gt;Czech Republic&lt;/option&gt;

    &lt;option value="Denmark"&gt;Denmark&lt;/option&gt;
    &lt;option value="Djibouti"&gt;Djibouti&lt;/option&gt;
    &lt;option value="Dominica"&gt;Dominica&lt;/option&gt;
    &lt;option value="Dominican Republic"&gt;Dominican Republic&lt;/option&gt;
    &lt;option value="Ecuador"&gt;Ecuador&lt;/option&gt;
    &lt;option value="Egypt"&gt;Egypt&lt;/option&gt;

    &lt;option value="El Salvador"&gt;El Salvador&lt;/option&gt;
    &lt;option value="Equatorial Guinea"&gt;Equatorial Guinea&lt;/option&gt;
    &lt;option value="Eritrea"&gt;Eritrea&lt;/option&gt;
    &lt;option value="Estonia"&gt;Estonia&lt;/option&gt;
    &lt;option value="Ethiopia"&gt;Ethiopia&lt;/option&gt;
    &lt;option value="Falkland Islands (Malvinas)"&gt;Falkland Islands (Malvinas)&lt;/option&gt;

    &lt;option value="Faroe Islands"&gt;Faroe Islands&lt;/option&gt;
    &lt;option value="Fiji"&gt;Fiji&lt;/option&gt;
    &lt;option value="Finland"&gt;Finland&lt;/option&gt;
    &lt;option value="France"&gt;France&lt;/option&gt;
    &lt;option value="French Guiana"&gt;French Guiana&lt;/option&gt;
    &lt;option value="French Polynesia"&gt;French Polynesia&lt;/option&gt;

    &lt;option value="French Southern Territories"&gt;French Southern Territories&lt;/option&gt;
    &lt;option value="Gabon"&gt;Gabon&lt;/option&gt;
    &lt;option value="Gambia"&gt;Gambia&lt;/option&gt;
    &lt;option value="Georgia"&gt;Georgia&lt;/option&gt;
    &lt;option value="Germany"&gt;Germany&lt;/option&gt;
    &lt;option value="Ghana"&gt;Ghana&lt;/option&gt;

    &lt;option value="Gibraltar"&gt;Gibraltar&lt;/option&gt;
    &lt;option value="Greece"&gt;Greece&lt;/option&gt;
    &lt;option value="Greenland"&gt;Greenland&lt;/option&gt;
    &lt;option value="Grenada"&gt;Grenada&lt;/option&gt;
    &lt;option value="Guadeloupe"&gt;Guadeloupe&lt;/option&gt;
    &lt;option value="Guam"&gt;Guam&lt;/option&gt;

    &lt;option value="Guatemala"&gt;Guatemala&lt;/option&gt;
    &lt;option value="Guernsey"&gt;Guernsey&lt;/option&gt;
    &lt;option value="Guinea"&gt;Guinea&lt;/option&gt;
    &lt;option value="Guinea-bissau"&gt;Guinea-bissau&lt;/option&gt;
    &lt;option value="Guyana"&gt;Guyana&lt;/option&gt;
    &lt;option value="Haiti"&gt;Haiti&lt;/option&gt;

    &lt;option value="Heard Island and Mcdonald Islands"&gt;Heard Island and Mcdonald Islands&lt;/option&gt;
    &lt;option value="Holy See (Vatican City State)"&gt;Holy See (Vatican City State)&lt;/option&gt;
    &lt;option value="Honduras"&gt;Honduras&lt;/option&gt;
    &lt;option value="Hong Kong"&gt;Hong Kong&lt;/option&gt;
    &lt;option value="Hungary"&gt;Hungary&lt;/option&gt;
    &lt;option value="Iceland"&gt;Iceland&lt;/option&gt;

    &lt;option value="India"&gt;India&lt;/option&gt;
    &lt;option value="Indonesia"&gt;Indonesia&lt;/option&gt;
    &lt;option value="Iran, Islamic Republic of"&gt;Iran, Islamic Republic of&lt;/option&gt;
    &lt;option value="Iraq"&gt;Iraq&lt;/option&gt;
    &lt;option value="Ireland"&gt;Ireland&lt;/option&gt;
    &lt;option value="Isle of Man"&gt;Isle of Man&lt;/option&gt;

    &lt;option value="Israel"&gt;Israel&lt;/option&gt;
    &lt;option value="Italy"&gt;Italy&lt;/option&gt;
    &lt;option value="Jamaica"&gt;Jamaica&lt;/option&gt;
    &lt;option value="Japan"&gt;Japan&lt;/option&gt;
    &lt;option value="Jersey"&gt;Jersey&lt;/option&gt;
    &lt;option value="Jordan"&gt;Jordan&lt;/option&gt;

    &lt;option value="Kazakhstan"&gt;Kazakhstan&lt;/option&gt;
    &lt;option value="Kenya"&gt;Kenya&lt;/option&gt;
    &lt;option value="Kiribati"&gt;Kiribati&lt;/option&gt;
    &lt;option value="Korea, Democratic People's Republic of"&gt;Korea, Democratic People's Republic of&lt;/option&gt;
    &lt;option value="Korea, Republic of"&gt;Korea, Republic of&lt;/option&gt;
    &lt;option value="Kuwait"&gt;Kuwait&lt;/option&gt;

    &lt;option value="Kyrgyzstan"&gt;Kyrgyzstan&lt;/option&gt;
    &lt;option value="Lao People's Democratic Republic"&gt;Lao People's Democratic Republic&lt;/option&gt;
    &lt;option value="Latvia"&gt;Latvia&lt;/option&gt;
    &lt;option value="Lebanon"&gt;Lebanon&lt;/option&gt;
    &lt;option value="Lesotho"&gt;Lesotho&lt;/option&gt;
    &lt;option value="Liberia"&gt;Liberia&lt;/option&gt;

    &lt;option value="Libyan Arab Jamahiriya"&gt;Libyan Arab Jamahiriya&lt;/option&gt;
    &lt;option value="Liechtenstein"&gt;Liechtenstein&lt;/option&gt;
    &lt;option value="Lithuania"&gt;Lithuania&lt;/option&gt;
    &lt;option value="Luxembourg"&gt;Luxembourg&lt;/option&gt;
    &lt;option value="Macao"&gt;Macao&lt;/option&gt;
    &lt;option value="Macedonia, The Former Yugoslav Republic of"&gt;Macedonia, The Former Yugoslav Republic of&lt;/option&gt;

    &lt;option value="Madagascar"&gt;Madagascar&lt;/option&gt;
    &lt;option value="Malawi"&gt;Malawi&lt;/option&gt;
    &lt;option value="Malaysia"&gt;Malaysia&lt;/option&gt;
    &lt;option value="Maldives"&gt;Maldives&lt;/option&gt;
    &lt;option value="Mali"&gt;Mali&lt;/option&gt;
    &lt;option value="Malta"&gt;Malta&lt;/option&gt;

    &lt;option value="Marshall Islands"&gt;Marshall Islands&lt;/option&gt;
    &lt;option value="Martinique"&gt;Martinique&lt;/option&gt;
    &lt;option value="Mauritania"&gt;Mauritania&lt;/option&gt;
    &lt;option value="Mauritius"&gt;Mauritius&lt;/option&gt;
    &lt;option value="Mayotte"&gt;Mayotte&lt;/option&gt;
    &lt;option value="Mexico"&gt;Mexico&lt;/option&gt;

    &lt;option value="Micronesia, Federated States of"&gt;Micronesia, Federated States of&lt;/option&gt;
    &lt;option value="Moldova, Republic of"&gt;Moldova, Republic of&lt;/option&gt;
    &lt;option value="Monaco"&gt;Monaco&lt;/option&gt;
    &lt;option value="Mongolia"&gt;Mongolia&lt;/option&gt;
    &lt;option value="Montenegro"&gt;Montenegro&lt;/option&gt;
    &lt;option value="Montserrat"&gt;Montserrat&lt;/option&gt;

    &lt;option value="Morocco"&gt;Morocco&lt;/option&gt;
    &lt;option value="Mozambique"&gt;Mozambique&lt;/option&gt;
    &lt;option value="Myanmar"&gt;Myanmar&lt;/option&gt;
    &lt;option value="Namibia"&gt;Namibia&lt;/option&gt;
    &lt;option value="Nauru"&gt;Nauru&lt;/option&gt;
    &lt;option value="Nepal"&gt;Nepal&lt;/option&gt;

    &lt;option value="Netherlands"&gt;Netherlands&lt;/option&gt;
    &lt;option value="Netherlands Antilles"&gt;Netherlands Antilles&lt;/option&gt;
    &lt;option value="New Caledonia"&gt;New Caledonia&lt;/option&gt;
    &lt;option value="New Zealand"&gt;New Zealand&lt;/option&gt;
    &lt;option value="Nicaragua"&gt;Nicaragua&lt;/option&gt;
    &lt;option value="Niger"&gt;Niger&lt;/option&gt;

    &lt;option value="Nigeria"&gt;Nigeria&lt;/option&gt;
    &lt;option value="Niue"&gt;Niue&lt;/option&gt;
    &lt;option value="Norfolk Island"&gt;Norfolk Island&lt;/option&gt;
    &lt;option value="Northern Mariana Islands"&gt;Northern Mariana Islands&lt;/option&gt;
    &lt;option value="Norway"&gt;Norway&lt;/option&gt;
    &lt;option value="Oman"&gt;Oman&lt;/option&gt;

    &lt;option value="Pakistan"&gt;Pakistan&lt;/option&gt;
    &lt;option value="Palau"&gt;Palau&lt;/option&gt;
    &lt;option value="Palestinian Territory, Occupied"&gt;Palestinian Territory, Occupied&lt;/option&gt;
    &lt;option value="Panama"&gt;Panama&lt;/option&gt;
    &lt;option value="Papua New Guinea"&gt;Papua New Guinea&lt;/option&gt;
    &lt;option value="Paraguay"&gt;Paraguay&lt;/option&gt;

    &lt;option value="Peru"&gt;Peru&lt;/option&gt;
    &lt;option value="Philippines"&gt;Philippines&lt;/option&gt;
    &lt;option value="Pitcairn"&gt;Pitcairn&lt;/option&gt;
    &lt;option value="Poland"&gt;Poland&lt;/option&gt;
    &lt;option value="Portugal"&gt;Portugal&lt;/option&gt;
    &lt;option value="Puerto Rico"&gt;Puerto Rico&lt;/option&gt;

    &lt;option value="Qatar"&gt;Qatar&lt;/option&gt;
    &lt;option value="Reunion"&gt;Reunion&lt;/option&gt;
    &lt;option value="Romania"&gt;Romania&lt;/option&gt;
    &lt;option value="Russian Federation"&gt;Russian Federation&lt;/option&gt;
    &lt;option value="Rwanda"&gt;Rwanda&lt;/option&gt;
    &lt;option value="Saint Helena"&gt;Saint Helena&lt;/option&gt;

    &lt;option value="Saint Kitts and Nevis"&gt;Saint Kitts and Nevis&lt;/option&gt;
    &lt;option value="Saint Lucia"&gt;Saint Lucia&lt;/option&gt;
    &lt;option value="Saint Pierre and Miquelon"&gt;Saint Pierre and Miquelon&lt;/option&gt;
    &lt;option value="Saint Vincent and The Grenadines"&gt;Saint Vincent and The Grenadines&lt;/option&gt;
    &lt;option value="Samoa"&gt;Samoa&lt;/option&gt;
    &lt;option value="San Marino"&gt;San Marino&lt;/option&gt;

    &lt;option value="Sao Tome and Principe"&gt;Sao Tome and Principe&lt;/option&gt;
    &lt;option value="Saudi Arabia"&gt;Saudi Arabia&lt;/option&gt;
    &lt;option value="Senegal"&gt;Senegal&lt;/option&gt;
    &lt;option value="Serbia"&gt;Serbia&lt;/option&gt;
    &lt;option value="Seychelles"&gt;Seychelles&lt;/option&gt;
    &lt;option value="Sierra Leone"&gt;Sierra Leone&lt;/option&gt;

    &lt;option value="Singapore"&gt;Singapore&lt;/option&gt;
    &lt;option value="Slovakia"&gt;Slovakia&lt;/option&gt;
    &lt;option value="Slovenia"&gt;Slovenia&lt;/option&gt;
    &lt;option value="Solomon Islands"&gt;Solomon Islands&lt;/option&gt;
    &lt;option value="Somalia"&gt;Somalia&lt;/option&gt;
    &lt;option value="South Africa"&gt;South Africa&lt;/option&gt;

    &lt;option value="South Georgia and The South Sandwich Islands"&gt;South Georgia and The South Sandwich Islands&lt;/option&gt;
    &lt;option value="Spain"&gt;Spain&lt;/option&gt;
    &lt;option value="Sri Lanka"&gt;Sri Lanka&lt;/option&gt;
    &lt;option value="Sudan"&gt;Sudan&lt;/option&gt;
    &lt;option value="Suriname"&gt;Suriname&lt;/option&gt;
    &lt;option value="Svalbard and Jan Mayen"&gt;Svalbard and Jan Mayen&lt;/option&gt;

    &lt;option value="Swaziland"&gt;Swaziland&lt;/option&gt;
    &lt;option value="Sweden"&gt;Sweden&lt;/option&gt;
    &lt;option value="Switzerland"&gt;Switzerland&lt;/option&gt;
    &lt;option value="Syrian Arab Republic"&gt;Syrian Arab Republic&lt;/option&gt;
    &lt;option value="Taiwan, Province of China"&gt;Taiwan, Province of China&lt;/option&gt;
    &lt;option value="Tajikistan"&gt;Tajikistan&lt;/option&gt;

    &lt;option value="Tanzania, United Republic of"&gt;Tanzania, United Republic of&lt;/option&gt;
    &lt;option value="Thailand"&gt;Thailand&lt;/option&gt;
    &lt;option value="Timor-leste"&gt;Timor-leste&lt;/option&gt;
    &lt;option value="Togo"&gt;Togo&lt;/option&gt;
    &lt;option value="Tokelau"&gt;Tokelau&lt;/option&gt;
    &lt;option value="Tonga"&gt;Tonga&lt;/option&gt;

    &lt;option value="Trinidad and Tobago"&gt;Trinidad and Tobago&lt;/option&gt;
    &lt;option value="Tunisia"&gt;Tunisia&lt;/option&gt;
    &lt;option value="Turkey"&gt;Turkey&lt;/option&gt;
    &lt;option value="Turkmenistan"&gt;Turkmenistan&lt;/option&gt;
    &lt;option value="Turks and Caicos Islands"&gt;Turks and Caicos Islands&lt;/option&gt;
    &lt;option value="Tuvalu"&gt;Tuvalu&lt;/option&gt;

    &lt;option value="Uganda"&gt;Uganda&lt;/option&gt;
    &lt;option value="Ukraine"&gt;Ukraine&lt;/option&gt;
    &lt;option value="United Arab Emirates" &gt;United Arab Emirates&lt;/option&gt;
    &lt;option value="United Kingdom"&gt;United Kingdom&lt;/option&gt;
    &lt;option value="United States"&gt;United States&lt;/option&gt;
    &lt;option value="United States Minor Outlying Islands"&gt;United States Minor Outlying Islands&lt;/option&gt;

    &lt;option value="Uruguay"&gt;Uruguay&lt;/option&gt;
    &lt;option value="Uzbekistan"&gt;Uzbekistan&lt;/option&gt;
    &lt;option value="Vanuatu"&gt;Vanuatu&lt;/option&gt;
    &lt;option value="Venezuela"&gt;Venezuela&lt;/option&gt;
    &lt;option value="Viet Nam"&gt;Viet Nam&lt;/option&gt;
    &lt;option value="Virgin Islands, British"&gt;Virgin Islands, British&lt;/option&gt;

    &lt;option value="Virgin Islands, U.S."&gt;Virgin Islands, U.S.&lt;/option&gt;
    &lt;option value="Wallis and Futuna"&gt;Wallis and Futuna&lt;/option&gt;
    &lt;option value="Western Sahara"&gt;Western Sahara&lt;/option&gt;
    &lt;option value="Yemen"&gt;Yemen&lt;/option&gt;
    &lt;option value="Zambia"&gt;Zambia&lt;/option&gt;
    &lt;option value="Zimbabwe"&gt;Zimbabwe&lt;/option&gt;

&lt;/select&gt;
&amp;nbsp;* &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td class="labels"&gt;Company:&lt;/td&gt;
            &lt;td colspan="3"&gt;&lt;input name="txtCompany" type="text" class="TextBox" id="txtFN5" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td class="labels"&gt;Contact Number:&lt;/td&gt;

            &lt;td colspan="3"&gt;&lt;input name="txtCC" type="text" class="TextBox50" id="txtFN7" /&gt;              &lt;input name="txtContactNumber" type="text" class="TextBox170" id="txtFN6" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td class="labels"&gt;Number of Visitors:&lt;/td&gt;
            &lt;td colspan="3"&gt;&lt;input name="txtVisitorNo" type="text" class="TextBox20" id="txtFN8" /&gt;
              &amp;nbsp;* &lt;/td&gt;
          &lt;/tr&gt;

          &lt;tr&gt;
            &lt;td colspan="4" height="5px"&gt;&lt;/td&gt;
            &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td width="5%" height="50" valign="top"&gt;&lt;input name="Subscribe" type="checkbox" class="chkBox" id="Subscribe" /&gt;
              &lt;label for="Subscribe"&gt;&lt;/label&gt;&lt;/td&gt;
            &lt;td  valign="top" class="TextGreySmall" align="justify"&gt;&lt;/td&gt;

            &lt;td width="19%" valign="top" class="TextGreySmall"&gt;&amp;nbsp;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td colspan="4" class="labels"&gt;Please select the date and time of your tour:&lt;/td&gt;
            &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td colspan="2" align="right" width="50%"&gt;&lt;div id="ddDate"&gt; &lt;/div&gt;&lt;/td&gt;

            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
            &lt;td colspan="2" align="right"&gt;
            &lt;select name="ddTime" class="ddTime" id="ddTime"&gt;
            &lt;option&gt;09:00&lt;/option&gt;
            &lt;option&gt;09:30&lt;/option&gt;

            &lt;option&gt;10:00&lt;/option&gt;
            &lt;option&gt;10:30&lt;/option&gt;
            &lt;option&gt;11:00&lt;/option&gt;
            &lt;option&gt;11:30&lt;/option&gt;
            &lt;option&gt;12:00&lt;/option&gt;
            &lt;option&gt;12:30&lt;/option&gt;

            &lt;option&gt;13:00&lt;/option&gt;
            &lt;option&gt;13:30&lt;/option&gt;
            &lt;option&gt;14:00&lt;/option&gt;
            &lt;option&gt;14:30&lt;/option&gt;
            &lt;option&gt;15:00&lt;/option&gt;
            &lt;option&gt;15:30&lt;/option&gt;

            &lt;option&gt;16:00&lt;/option&gt;
            &lt;option&gt;16:30&lt;/option&gt;
            &lt;option&gt;17:00&lt;/option&gt;
            &lt;option&gt;17:30&lt;/option&gt;
            &lt;option&gt;18:00&lt;/option&gt;
            &lt;option&gt;18:30&lt;/option&gt;

            &lt;option&gt;19:00&lt;/option&gt;
            &lt;option&gt;19:30&lt;/option&gt;
            &lt;option&gt;20:00&lt;/option&gt;

            &lt;/select&gt;
            &lt;/td&gt;
            &lt;td&gt;&amp;nbsp;&lt;/td&gt;
          &lt;/tr&gt;

          &lt;tr&gt;
            &lt;td height="5px"&gt;&lt;/td&gt;
            &lt;td height="5px" colspan="2"&gt;&lt;/td&gt;
            &lt;td height="5px"&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td &gt;&lt;input type="Reset" name="btnReset" class="btnGrey id="btnReset" value="Reset" /&gt;&lt;/td&gt;
            &lt;td colspan="2" align="right"&gt;
            &lt;input type="submit" name="submit" class="btnblue" value="Next &gt;&gt;"&gt;


            &lt;/td&gt;
            &lt;td&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td colspan="4" height="15px" &gt;
&lt;/td&gt;
            &lt;/tr&gt;
        &lt;/table&gt;&lt;/td&gt;
        &lt;td width="178" align="left" valign="top"&gt;&lt;img src="Images/logo.png" width="133" height="118" alt="" /&gt;&lt;/td&gt;

     &lt;/tr&gt;
    &lt;/table&gt;


    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
  &lt;/form&gt;

&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Following code in PHP script is always empty </p>

<pre><code>echo "Date : ". $_POST['ddDate'];
</code></pre>

<p>Is there a posibility that i can assign the ddDate onchange event to a hidden field so that it will be stored in hidden input text field.</p>
