title: How do I grab the option text from a value
body: <p>So I have this snippet of HTML:</p>
  
  <pre><code>&lt;div class="col-md-3"&gt;
      &lt;div class="form-group"&gt;
          &lt;select id="billcountry" class="form-control" name="bill_country" onchange="alert(this.value); console.log(this);" tabindex="16"&gt;
              &lt;option value="USA"&gt;United States&lt;/option&gt;
              &lt;option value="CAN"&gt;Canada&lt;/option&gt;
              &lt;option value="AFGH"&gt;Afghanistan&lt;/option&gt;
              &lt;option value="ALBA"&gt;Albania&lt;/option&gt;
              &lt;option value="ALGE"&gt;Algeria&lt;/option&gt;
              &lt;option value="ANGO"&gt;Angola&lt;/option&gt;
              &lt;option value="ANGU"&gt;Anguilla&lt;/option&gt;
              &lt;option value="ANTA"&gt;Antartica&lt;/option&gt;
              &lt;option value="ANTI"&gt;Antigua &amp;amp; Barbuda&lt;/option&gt;
              &lt;option value="ARGE"&gt;Argentina&lt;/option&gt;
              &lt;option value="ARME"&gt;Armenia&lt;/option&gt;
              &lt;option value="ARUB"&gt;Aruba&lt;/option&gt;
              &lt;option value="AUST"&gt;Austria&lt;/option&gt;
              &lt;option value="AUS"&gt;Australia&lt;/option&gt;
              &lt;option value="AZER"&gt;Azerbaijan&lt;/option&gt;
              &lt;option value="BAHA"&gt;Bahamas&lt;/option&gt;
              &lt;option value="BAHR"&gt;Bahrain&lt;/option&gt;
              &lt;option value="BANG"&gt;Bangladesh&lt;/option&gt;
              &lt;option value="BARB"&gt;Barbados&lt;/option&gt;
              &lt;option value="BELA"&gt;Belarus&lt;/option&gt;
              &lt;option value="BELG"&gt;Belgium&lt;/option&gt;
              &lt;option value="BELI"&gt;Belize&lt;/option&gt;
              &lt;option value="BENI"&gt;Benin&lt;/option&gt;
              &lt;option value="BERM"&gt;Bermuda&lt;/option&gt;
              &lt;option value="BHUT"&gt;Bhutan&lt;/option&gt;
              &lt;option value="BOLI"&gt;Bolivia&lt;/option&gt;
              &lt;option value="BORN"&gt;Borneo&lt;/option&gt;
              &lt;option value="BOSN"&gt;Bosnia&lt;/option&gt;
              &lt;option value="BOTS"&gt;Botswana&lt;/option&gt;
              &lt;option value="BRAZ"&gt;Brazil&lt;/option&gt;
              &lt;option value="BRIO"&gt;British Indian Ocean Territories&lt;/option&gt;
              &lt;option value="BRVI"&gt;British Virgin Islands&lt;/option&gt;
              &lt;option value="BRUN"&gt;Brunei&lt;/option&gt;
              &lt;option value="BULG"&gt;Bulgaria&lt;/option&gt;
              &lt;option value="BURK"&gt;Burkina Faso&lt;/option&gt;
              &lt;option value="BURU"&gt;Burundi&lt;/option&gt;
              &lt;option value="CAMB"&gt;Cambodia&lt;/option&gt;
              &lt;option value="CAME"&gt;Cameroon&lt;/option&gt;
              &lt;option value="CAPV"&gt;Cape Verde Island&lt;/option&gt;
              &lt;option value="CAYM"&gt;Cayman Islands&lt;/option&gt;
              &lt;option value="CAFR"&gt;Central African Republic&lt;/option&gt;
              &lt;option value="CHAD"&gt;Chad&lt;/option&gt;
              &lt;option value="CHIL"&gt;Chile&lt;/option&gt;
              &lt;option value="CHIN"&gt;China&lt;/option&gt;
              &lt;option value="COLO"&gt;Colombia&lt;/option&gt;
              &lt;option value="COMO"&gt;Comoros&lt;/option&gt;
              &lt;option value="CONG"&gt;Congo&lt;/option&gt;
              &lt;option value="COST"&gt;Costa Rica&lt;/option&gt;
              &lt;option value="IVOR"&gt;Cote D'ivoire&lt;/option&gt;
              &lt;option value="CROA"&gt;Croatia&lt;/option&gt;
              &lt;option value="CUBA"&gt;Cuba&lt;/option&gt;
              &lt;option value="CYPR"&gt;Cyprus&lt;/option&gt;
              &lt;option value="CZEC"&gt;Czech Republic&lt;/option&gt;
              &lt;option value="DENM"&gt;Denmark&lt;/option&gt;
              &lt;option value="DJIB"&gt;Djibouti&lt;/option&gt;
              &lt;option value="DOMI"&gt;Dominican Republic&lt;/option&gt;
              &lt;option value="ECUA"&gt;Ecuador&lt;/option&gt;
              &lt;option value="EGYP"&gt;Egypt&lt;/option&gt;
              &lt;option value="ELSA"&gt;El Salvador&lt;/option&gt;
              &lt;option value="ENGL"&gt;England&lt;/option&gt;
              &lt;option value="EQGU"&gt;Equatorial Guinea&lt;/option&gt;
              &lt;option value="ERIT"&gt;Eritrea&lt;/option&gt;
              &lt;option value="ESTO"&gt;Estonia&lt;/option&gt;
              &lt;option value="ETHI"&gt;Ethiopia&lt;/option&gt;
              &lt;option value="FALK"&gt;Falkland Islands&lt;/option&gt;
              &lt;option value="FARO"&gt;Faroe Islands&lt;/option&gt;
              &lt;option value="FIJI"&gt;Fiji&lt;/option&gt;
              &lt;option value="FINL"&gt;Finland&lt;/option&gt;
              &lt;option value="FRAN"&gt;France&lt;/option&gt;
              &lt;option value="FRGU"&gt;French Guiana&lt;/option&gt;
              &lt;option value="POLY"&gt;French Polynesia&lt;/option&gt;
              &lt;option value="FRST"&gt;French So Territories&lt;/option&gt;
              &lt;option value="GABO"&gt;Gabon&lt;/option&gt;
              &lt;option value="GAMB"&gt;Gambia&lt;/option&gt;
              &lt;option value="GEOR"&gt;Georgia&lt;/option&gt;
              &lt;option value="GERM"&gt;Germany&lt;/option&gt;
              &lt;option value="GHAN"&gt;Ghana&lt;/option&gt;
              &lt;option value="GIBR"&gt;Gibraltar&lt;/option&gt;
              &lt;option value="GREC"&gt;Greece&lt;/option&gt;
              &lt;option value="GREE"&gt;Greenland&lt;/option&gt;
              &lt;option value="GREN"&gt;Grenada&lt;/option&gt;
              &lt;option value="GUAD"&gt;Guadeloupe&lt;/option&gt;
              &lt;option value="GUAT"&gt;Guatemala&lt;/option&gt;
              &lt;option value="GUIB"&gt;Guinea-bissau&lt;/option&gt;
              &lt;option value="GUYA"&gt;Guyana&lt;/option&gt;
              &lt;option value="HAIT"&gt;Haiti&lt;/option&gt;
              &lt;option value="HOND"&gt;Honduras&lt;/option&gt;
              &lt;option value="HONG"&gt;Hong Kong&lt;/option&gt;
              &lt;option value="HUNG"&gt;Hungary&lt;/option&gt;
              &lt;option value="ICEL"&gt;Iceland&lt;/option&gt;
              &lt;option value="INDI"&gt;India&lt;/option&gt;
              &lt;option value="INDO"&gt;Indonesia&lt;/option&gt;
              &lt;option value="IRAN"&gt;Iran&lt;/option&gt;
              &lt;option value="IRAQ"&gt;Iraq&lt;/option&gt;
              &lt;option value="IREL"&gt;Ireland&lt;/option&gt;
              &lt;option value="ISRA"&gt;Israel&lt;/option&gt;
              &lt;option value="ITAL"&gt;Italy&lt;/option&gt;
              &lt;option value="JAMA"&gt;Jamaica&lt;/option&gt;
              &lt;option value="JAPA"&gt;Japan&lt;/option&gt;
              &lt;option value="JORD"&gt;Jordan&lt;/option&gt;
              &lt;option value="KAZA"&gt;Kazakhstan&lt;/option&gt;
              &lt;option value="KENY"&gt;Kenya&lt;/option&gt;
              &lt;option value="KUWA"&gt;Kuwait&lt;/option&gt;
              &lt;option value="KYRG"&gt;Kyrgyzstan&lt;/option&gt;
              &lt;option value="LAOS"&gt;Laos&lt;/option&gt;
              &lt;option value="LATV"&gt;Latvia&lt;/option&gt;
              &lt;option value="LEBA"&gt;Lebanon&lt;/option&gt;
              &lt;option value="LESO"&gt;Lesotho&lt;/option&gt;
              &lt;option value="LIBE"&gt;Liberia&lt;/option&gt;
              &lt;option value="LIBY"&gt;Libya&lt;/option&gt;
              &lt;option value="LIEC"&gt;Liechtenstien&lt;/option&gt;
              &lt;option value="LITH"&gt;Lithuania&lt;/option&gt;
              &lt;option value="LUXE"&gt;Luxembourg&lt;/option&gt;
              &lt;option value="MACA"&gt;Macau&lt;/option&gt;
              &lt;option value="MACE"&gt;Macedonia&lt;/option&gt;
              &lt;option value="MADA"&gt;Madagascar&lt;/option&gt;
              &lt;option value="MALW"&gt;Malawi&lt;/option&gt;
              &lt;option value="MALA"&gt;Malaysia&lt;/option&gt;
              &lt;option value="MALD"&gt;Maldives&lt;/option&gt;
              &lt;option value="MALI"&gt;Mali&lt;/option&gt;
              &lt;option value="MALT"&gt;Malta&lt;/option&gt;
              &lt;option value="MART"&gt;Martinique&lt;/option&gt;
              &lt;option value="MAUA"&gt;Mauritania&lt;/option&gt;
              &lt;option value="MAUS"&gt;Mauritius&lt;/option&gt;
              &lt;option value="MAYO"&gt;Mayotte&lt;/option&gt;
              &lt;option value="MEXI"&gt;Mexico&lt;/option&gt;
              &lt;option value="MOLD"&gt;Moldova&lt;/option&gt;
              &lt;option value="MONA"&gt;Monaco&lt;/option&gt;
              &lt;option value="MONG"&gt;Mongolia&lt;/option&gt;
              &lt;option value="MONT"&gt;Montserrat&lt;/option&gt;
              &lt;option value="MORO"&gt;Morocco&lt;/option&gt;
              &lt;option value="MOZA"&gt;Mozambique&lt;/option&gt;
              &lt;option value="MYAN"&gt;Myanmar&lt;/option&gt;
              &lt;option value="NIRE"&gt;N Ireland&lt;/option&gt;
              &lt;option value="NAMI"&gt;Namibia&lt;/option&gt;
              &lt;option value="NEPA"&gt;Nepal&lt;/option&gt;
              &lt;option value="NETH"&gt;Netherlands&lt;/option&gt;
              &lt;option value="NANT"&gt;Netherlands Antilles&lt;/option&gt;
              &lt;option value="NCAL"&gt;New Caledonia&lt;/option&gt;
              &lt;option value="NGUI"&gt;New Guinea&lt;/option&gt;
              &lt;option value="NZEA"&gt;New Zealand&lt;/option&gt;
              &lt;option value="NICA"&gt;Nicaragua&lt;/option&gt;
              &lt;option value="NIGE"&gt;Niger&lt;/option&gt;
              &lt;option value="NIGA"&gt;Nigeria&lt;/option&gt;
              &lt;option value="NKOR"&gt;North Korea&lt;/option&gt;
              &lt;option value="NORW"&gt;Norway&lt;/option&gt;
              &lt;option value="OMAN"&gt;Oman&lt;/option&gt;
              &lt;option value="PAKI"&gt;Pakistan&lt;/option&gt;
              &lt;option value="PANA"&gt;Panama&lt;/option&gt;
              &lt;option value="PAPU"&gt;Papua New Guinea&lt;/option&gt;
              &lt;option value="PARA"&gt;Paraguay&lt;/option&gt;
              &lt;option value="PERU"&gt;Peru&lt;/option&gt;
              &lt;option value="PHIL"&gt;Philippines&lt;/option&gt;
              &lt;option value="POLA"&gt;Poland&lt;/option&gt;
              &lt;option value="PORT"&gt;Portugal&lt;/option&gt;
              &lt;option value="ANDO"&gt;Principality Of Andorra&lt;/option&gt;
              &lt;option value="QATA"&gt;Qatar&lt;/option&gt;
              &lt;option value="ROMA"&gt;Romania&lt;/option&gt;
              &lt;option value="RUSS"&gt;Russia&lt;/option&gt;
              &lt;option value="RWAN"&gt;Rwanda&lt;/option&gt;
              &lt;option value="SGEO"&gt;S Georgia &amp;amp; S Sandwich Isls&lt;/option&gt;
              &lt;option value="SOMO"&gt;Samoa (western)&lt;/option&gt;
              &lt;option value="SANM"&gt;San Marino&lt;/option&gt;
              &lt;option value="SAOT"&gt;Sao Tome &amp;amp; Principe&lt;/option&gt;
              &lt;option value="SAUD"&gt;Saudi Arabia&lt;/option&gt;
              &lt;option value="SCOT"&gt;Scotland&lt;/option&gt;
              &lt;option value="SENE"&gt;Senegal&lt;/option&gt;
              &lt;option value="SEYC"&gt;Seychelles Island&lt;/option&gt;
              &lt;option value="SIER"&gt;Sierra Leone&lt;/option&gt;
              &lt;option value="SING"&gt;Singapore&lt;/option&gt;
              &lt;option value="SLVK"&gt;Slovakia&lt;/option&gt;
              &lt;option value="SLVN"&gt;Slovenia&lt;/option&gt;
              &lt;option value="SOLO"&gt;Solomon Island&lt;/option&gt;
              &lt;option value="SOMA"&gt;Somalia&lt;/option&gt;
              &lt;option value="SAFR"&gt;South Africa&lt;/option&gt;
              &lt;option value="SKOR"&gt;South Korea&lt;/option&gt;
              &lt;option value="SPAI"&gt;Spain&lt;/option&gt;
              &lt;option value="SRIL"&gt;Sri Lanka&lt;/option&gt;
              &lt;option value="STHL"&gt;St Helena&lt;/option&gt;
              &lt;option value="STKN"&gt;St Kitts &amp;amp; Nevis&lt;/option&gt;
              &lt;option value="STLU"&gt;St Lucia&lt;/option&gt;
              &lt;option value="STPM"&gt;St Pierre &amp;amp; Miquelon&lt;/option&gt;
              &lt;option value="STVG"&gt;St Vincent &amp;amp; The Grenadines&lt;/option&gt;
              &lt;option value="SUDA"&gt;Sudan&lt;/option&gt;
              &lt;option value="SURI"&gt;Suriname&lt;/option&gt;
              &lt;option value="SWAZ"&gt;Swaziland&lt;/option&gt;
              &lt;option value="SWED"&gt;Sweden&lt;/option&gt;
              &lt;option value="SWIT"&gt;Switzerland&lt;/option&gt;
              &lt;option value="SYRI"&gt;Syria&lt;/option&gt;
              &lt;option value="TAIW"&gt;Taiwan&lt;/option&gt;
              &lt;option value="TANZ"&gt;Tanzania&lt;/option&gt;
              &lt;option value="THAI"&gt;Thailand&lt;/option&gt;
              &lt;option value="TOGO"&gt;Togo&lt;/option&gt;
              &lt;option value="TONG"&gt;Tonga&lt;/option&gt;
              &lt;option value="TRIN"&gt;Trinidad &amp;amp; Tobago&lt;/option&gt;
              &lt;option value="TUNI"&gt;Tunisia&lt;/option&gt;
              &lt;option value="TURK"&gt;Turkey&lt;/option&gt;
              &lt;option value="TURC"&gt;Turks &amp;amp; Caicos Islands&lt;/option&gt;
              &lt;option value="UGAN"&gt;Uganda&lt;/option&gt;
              &lt;option value="UKRA"&gt;Ukraine&lt;/option&gt;
              &lt;option value="UAE"&gt;United Arab Emirates&lt;/option&gt;
              &lt;option value="URUG"&gt;Uruguay&lt;/option&gt;
              &lt;option value="UZBE"&gt;Uzbekistan&lt;/option&gt;
              &lt;option value="VATI"&gt;Vatican&lt;/option&gt;
              &lt;option value="VENE"&gt;Venezuela&lt;/option&gt;
              &lt;option value="VIET"&gt;Vietnam&lt;/option&gt;
              &lt;option value="WALE"&gt;Wales&lt;/option&gt;
              &lt;option value="WFIS"&gt;Wallis &amp;amp; Futuna Islands&lt;/option&gt;
              &lt;option value="SAHA"&gt;Western Sahara&lt;/option&gt;
              &lt;option value="WSAM"&gt;Western Samoa&lt;/option&gt;
              &lt;option value="YEME"&gt;Yemen&lt;/option&gt;
              &lt;option value="YUGO"&gt;Yugoslavia&lt;/option&gt;
              &lt;option value="ZAIR"&gt;Zaire&lt;/option&gt;
              &lt;option value="ZAMB"&gt;Zambia&lt;/option&gt;
              &lt;option value="ZIMB"&gt;Zimbabwe&lt;/option&gt;
          &lt;/select&gt; 
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And as you can see, when the value of the <code>&lt;select&gt;</code> changes, the new value is passed to an alert currently.</p>
  
  <p>I have looked all over for a solution (without jQuery to grab the options <code>text</code> based solely off of the value.</p>
  
  <p>So if the <code>select</code> were changed to value <code>USA</code>, I have attempted (and failed) at getting the words <code>United States</code></p>
  
  <p>Any thoughts on how to efficiently go about this without using jQuery or having to loop through each option and checking its value and then grabbing its <code>innerHTML</code> if it matches?</p>
  
  <p>**EDIT: ** I am searching for the actual TEXT and not the VALUE. Why this isn't duplicate.</p>