Title: JavaScript Dropdown menu
Last modified: April 26, 2018

---

# JavaScript Dropdown menu

 *  [pbwpwork](https://wordpress.org/support/users/pbwpwork/)
 * (@pbwpwork)
 * [8 years ago](https://wordpress.org/support/topic/javascript-dropdown-menu/)
 * Hi,
 * Had a success in building an input box which you can write in and it will produce
   some auto suggestions.
 * I have based the code on:
    [https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_autocomplete](https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_autocomplete)
 * The only problem is that I have had to cut the code down to make it work within
   a Contact Form 7 form. It works apart from one aspect – when you start typing
   in the box the suggestions do appear but you cannot use the arrow keys to select
   the one you would like you have to select via the mouse. Could you let me know
   what is missing in the code?
 * At the moment all of the JavaScript is under the html code for the form… should
   it be there or should I try to move it within functions.php?
 *     ```
       <h2>Autocomplete - this is the one that I am updating</h2>
   
       <p>Start typing:</p>
   
       <!--Make sure the form has the autocomplete function switched off:-->
       <form autocomplete="off" action="/action_page.php">
         <div class="autocomplete" style="width:300px;">
           [select menu-479 include_blank ]
           <label for="lname">Last Name</label>
           <input type="text" id="lname" name="lastname" placeholder="Your last name..">
           <input id="myInput" type="text" name="myCountry" placeholder="Country">
         </div>
         <input type="submit">
       </form>
   
       <script>
       function autocomplete(inp, arr) {
         /*the autocomplete function takes two arguments,
         the text field element and an array of possible autocompleted values:*/
         var currentFocus;
         /*execute a function when someone writes in the text field:*/
         inp.addEventListener("input", function(e) {
             var a, b, i, val = this.value;
             /*close any already open lists of autocompleted values*/
             closeAllLists();
             if (!val) { return false;}
             currentFocus = -1;
             /*create a DIV element that will contain the items (values):*/
             a = document.createElement("DIV");
             a.setAttribute("id", this.id + "autocomplete-list");
             a.setAttribute("class", "autocomplete-items");
             /*append the DIV element as a child of the autocomplete container:*/
             this.parentNode.appendChild(a);
             /*for each item in the array...*/
             for (i = 0; i < arr.length; i++) {
               /*check if the item starts with the same letters as the text field value:*/
               if (arr[i].substr(0, val.length).toUpperCase() == val.toUpperCase()) {
                 /*create a DIV element for each matching element:*/
                 b = document.createElement("DIV");
                 /*make the matching letters bold:*/
                 b.innerHTML = "<strong>" + arr[i].substr(0, val.length) + "</strong>";
                 b.innerHTML += arr[i].substr(val.length);
                 /*insert a input field that will hold the current array item's value:*/
                 b.innerHTML += "<input type='hidden' value='" + arr[i] + "'>";
                 /*execute a function when someone clicks on the item value (DIV element):*/
                 b.addEventListener("click", function(e) {
                     /*insert the value for the autocomplete text field:*/
                     inp.value = this.getElementsByTagName("input")[0].value;
                     /*close the list of autocompleted values,
                     (or any other open lists of autocompleted values:*/
                     closeAllLists();
                 });
                 a.appendChild(b);
               }
             }
         });
         /*execute a function presses a key on the keyboard:*/
         inp.addEventListener("keydown", function(e) {
             var x = document.getElementById(this.id + "autocomplete-list");
             if (x) x = x.getElementsByTagName("div");
             if (e.keyCode == 40) {
               /*If the arrow DOWN key is pressed,
               increase the currentFocus variable:*/
               currentFocus++;
               /*and and make the current item more visible:*/
               addActive(x);
             } else if (e.keyCode == 38) { //up
               /*If the arrow UP key is pressed,
               decrease the currentFocus variable:*/
               currentFocus--;
               /*and and make the current item more visible:*/
               addActive(x);
             } else if (e.keyCode == 13) {
               /*If the ENTER key is pressed, prevent the form from being submitted,*/
               e.preventDefault();
               if (currentFocus > -1) {
                 /*and simulate a click on the "active" item:*/
                 if (x) x[currentFocus].click();
               }
             }
         });
         function addActive(x) {
           /*a function to classify an item as "active":*/
           if (!x) return false;
           /*start by removing the "active" class on all items:*/
           removeActive(x);
           if (currentFocus >= x.length) currentFocus = 0;
           if (currentFocus < 0) currentFocus = (x.length - 1);
           /*add class "autocomplete-active":*/
           x[currentFocus].classList.add("autocomplete-active");
         }
         function removeActive(x) {
           /*a function to remove the "active" class from all autocomplete items:*/
           for (var i = 0; i < x.length; i++) {
             x[i].classList.remove("autocomplete-active");
           }
         }
         function closeAllLists(elmnt) {
           /*close all autocomplete lists in the document,
           except the one passed as an argument:*/
           var x = document.getElementsByClassName("autocomplete-items");
           for (var i = 0; i < x.length; i++) {
             if (elmnt != x[i] && elmnt != inp) {
               x[i].parentNode.removeChild(x[i]);
             }
           }
         }
         /*execute a function when someone clicks in the document:*/
         document.addEventListener("click", function (e) {
             closeAllLists(e.target);
             });
       }
       /*An array containing all the country names in the world:*/
       var countries = ["Abba River - 6280","Abbey - 6280","Acton Park - 6280","Adamsvale - 6375","Agnew - 6435","Ajana - 6532","Albany - 6330","Albany - 6332","Aldersyde - 6306","Alexander Heights - 6064","Alexandra Bridge - 6288","Alfred Cove - 6154","Alkimos - 6038","Allanooka - 6525","Allanson - 6225","Alma - 6535","Ambania - 6632","Ambergate - 6280","Amelup - 6338","Angelo River - 6642","Anketell - 6167","Anniebrook - 6280","Antonymyre - 6714","Applecross - 6153","Applecross - 6953","Ardath - 6419","Ardross - 6153","Argyle - 6239","Armadale - 6112","Armadale - 6992","Arrino - 6519","Arrowsmith - 6525","Arrowsmith East - 6519","Arthur River - 6315","Ascot - 6104","Ashby - 6065","Ashfield - 6054","Attadale - 6156","Atwell - 6164","Aubin Grove - 6164","Augusta - 6290","Australind - 6233","Avon Valley National Park - 6084","Baandee - 6412","Babakin - 6428","Babbage Island - 6701","Badgebup - 6317","Badgerin Rock - 6475","Badgin - 6302","Badgingarra - 6521","Badjaling - 6383","Bailup - 6082","Bakers Hill - 6562","Balbarrup - 6258","Balcatta - 6021","Balcatta - 6914","Baldivis - 6171","Balga - 6061","Balingup - 6253","Balkuling - 6383","Balla Balla - 6714","Balladong - 6302","Balladonia - 6443","Ballajura - 6066","Ballaying - 6315","Ballidu - 6606","Bally Bally - 6304","Bambun - 6503","Bandy Creek - 6450","Bandya - 6440","Banjup - 6164","Banksia Grove - 6031","Banksiadale - 6213","Bannister - 6390","Barbalin - 6479","Barberton - 6510","Barrabup - 6275","Barragup - 6210","Barrow Island - 6712","Baskerville - 6056","Bassendean - 6054","Bassendean - 6934","Bassendean Dc - 6054","Bassendean Dc - 6942","Bateman - 6150","Baudin - 6284","Baynton - 6714","Bayonet Head - 6330","Bayswater - 6053","Bayswater - 6933","Beachlands - 6530","Beacon - 6472","Beaconsfield - 6162","Beadell - 6440","Beaufort River - 6394","Beaumont - 6450","Beckenham - 6107","Bedford - 6052","Bedfordale - 6112","Beechboro - 6063","Beechina - 6556","Beedelup - 6260","Beela - 6224","Beelerup - 6239","Beeliar - 6164","Beenong - 6353","Beermullah - 6503","Bejoording - 6566","Beldon - 6027","Belhus - 6069","Bellevue - 6056","Belmont - 6104","Belmont - 6984","Bencubbin - 6477","Bendering - 6367","Benger - 6223","Benjaberring - 6463","Benjinup - 6255","Bentley - 6102","Bentley - 6982","Bentley Dc - 6102","Bentley Dc - 6983","Beresford - 6530","Berkshire Valley - 6510","Bernier Island - 6701","Bertram - 6167","Beverley - 6304","Bibra Lake - 6163","Bibra Lake Dc - 6163","Bibra Lake Dc - 6965","Bickley - 6076","Bicton - 6157","Biddelia - 6260","Big Grove - 6330","Bilbarin - 6375","Bilingurr - 6725","Bimbijy - 6472","Bindi Bindi - 6574","Bindoon - 6502","Bindoon Training Area - 6502","Binduli - 6430","Binningup - 6233","Binnu - 6532","Birchmont - 6214","Bluff Point - 6530","Blythewood - 6208","Boallia - 6280","Bobalong - 6320","Bodallin - 6424","Boddington - 6390","Boilup - 6394","Bokal - 6392","Bolgart - 6568","Bonnie Rock - 6479","Bonniefield - 6525","Boodarie - 6722","Boodarockin - 6423","Bookara - 6525","Boolading - 6392","Boonanarring - 6503","Boorabbin - 6429","Booragoon - 6154","Booragoon - 6954","Booralaming - 6475","Boorara - 6431","Boorara Brook - 6262","Bootenal - 6532","Boothendarra - 6521","Boraning - 6391","Boranup - 6286","Borden - 6338","Borderdale - 6320","Bornholm - 6330","Boscabel - 6394","Boundain - 6312","Bouvard - 6210","Bovell - 6280","Bow Bridge - 6333","Bowelling - 6225","Bowes - 6535","Bowgada - 6623","Boxwood Hill - 6338","Boya - 6056","Boyanup - 6237","Boyatup - 6450","Boyerine - 6316","Boyup Brook - 6244","Bramley - 6285","Brazier - 6251","Breera - 6503","Bremer Bay - 6338","Brentwood - 6153","Breton Bay - 6043","Bridgetown - 6255","Brigadoon - 6069","Bringo - 6532","Broadwater - 6280","Broadwood - 6430","Brockman - 6701","Broke - 6398","Brookdale - 6112","Brookhampton - 6239","Brookton - 6306","Broome - 6725","Broomehill - 6318","Broomehill East - 6318","Broomehill Village - 6318","Broomehill West - 6318","Brown Hill - 6431","Brown Range - 6701","Bruce Rock - 6418","Brunswick - 6224","Buckingham - 6225","Buckland - 6401","Bulgarra - 6714","Bull Creek - 6149","Bullabulling - 6429","Bullaring - 6373","Buller - 6532","Bullfinch - 6484","Bullock Hills - 6317","Bullsbrook - 6084","Bulong - 6431","Bulyee - 6306","Bunbury - 6230","Bunbury - 6231","Bundanoon - 6522","Bungulla - 6410","Buniche - 6353","Bunjil - 6623","Buntine - 6613","Burakin - 6467","Buraminya - 6452","Burekup - 6227","Burges - 6302","Burlong - 6401","Burma Road - 6532","Burns Beach - 6028","Burnside - 6285","Burracoppin - 6421","Burran Rock - 6490","Burrup - 6714","Burswood - 6100","Burtville - 6440","Busselton - 6280","Butler - 6036","Byford - 6122","Cable Beach - 6726","Cadoux - 6466","Caiguna - 6443","Calingiri - 6569","Calista - 6167","Caljie - 6302","Callcup - 6260","Camballin - 6728","Cambridge Gulf - 6743","Campion - 6421","Cancanning - 6315","Cane - 6710","Canna - 6627","Canning Mills - 6111","Canning Vale - 6155","Canning Vale Dc - 6155","Canning Vale Dc - 6970","Cannington - 6107","Cannington - 6980","Cannington - 6987","Cape Arid - 6452","Cape Burney - 6532","Cape Le Grand - 6450","Cape Range National Park - 6707","Cape Riche - 6328","Capel - 6271","Capel River - 6271","Capricorn - 6642","Caraban - 6041","Carabooda - 6033","Carani - 6566","Carbla - 6701","Carbunup River - 6280","Cardiff - 6225","Cardup - 6122","Carey Park - 6230","Carine - 6020","Carlisle - 6101","Carlisle North - 6101","Carlisle South - 6101","Carlotta - 6275","Carmel - 6076","Carnamah - 6517","Carnarvon - 6701","Carrabin - 6423","Carramar - 6031","Carrarang - 6532","Carrolup - 6317","Cartmeticup - 6316","Cascade - 6450","Castletown - 6450","Casuarina - 6167","Cataby - 6507","Catterick - 6255","Caversham - 6055","Centennial Park - 6330","Cervantes - 6511","Chadwick - 6450","Champion Lakes - 6111","Chandler - 6490","Changerup - 6394","Channybearup - 6260","Chapman Hill - 6280","Charley Creek - 6239","Cherry Tree Pool - 6395","Cheynes - 6328","Chichester - 6751","Chidlow - 6556","Chittering - 6084","Chowerup - 6244","Christmas Island - 6798","Churchlands - 6018","City Beach - 6015","City Delivery Centre - 6000","Clackline - 6564","Claremont - 6010","Claremont - 6910","Clarkson - 6030","Cleary - 6472","Cleaverville - 6714","Clifton - 6210","Cloverdale - 6105","Cloverdale - 6985","Coblinine - 6317","Coburn - 6532","Cockatoo Island - 6731","Cocklebiddy - 6443","Codjatotine - 6308","Cold Harbour - 6302","Collanilling - 6315","College Grove - 6230","Collie - 6225","Collie Burn - 6225","Collingwood Heights - 6330","Collingwood Park - 6330","Collins - 6260","Collins Siding - 6260","Commodine - 6311","Como - 6152","Como - 6952","Condingup - 6450","Congelin - 6391","Connolly - 6027","Contine - 6311","Coodanup - 6210","Coogee - 6166","Cookernup - 6220","Cooladar Hill - 6638","Coolbellup - 6163","Coolbinia - 6050","Coolcalalaya - 6532","Coolgardie - 6429","Cooljarloo - 6507","Cooloongup - 6168","Coolup - 6214","Coomalbidgup - 6450","Coomberdale - 6512","Coonabidgee - 6503","Coondle - 6566","Coorow - 6515","Cooya Pooya - 6714","Copley - 6562","Coral Bay - 6701","Cordering - 6393","Corinthia - 6426","Corrigin - 6375","Cosmo Newbery - 6440","Cossack - 6720","Cottesloe - 6011","Cottesloe - 6911","Courtenay - 6288","Cowalellup - 6336","Cowalla - 6503","Cowaramup - 6284","Cowcowing - 6485","Coyrecup - 6317","Craigie - 6025","Cramphorne - 6420","Cranbrook - 6321","Crawley - 6009","Crooked Brook - 6236","Crossman - 6390","Crowea - 6258","Cuballing - 6311","Cubbine - 6383","Cue - 6640","Culbin - 6391","Culham - 6566","Cullacabardee - 6067","Cullalla - 6503","Cundeelee - 6434","Cunderdin - 6407","Cundinup - 6275","Cunjardine - 6401","Currambine - 6028","Cuthbert - 6330","Daadenning Creek - 6410","Daggar Hills - 6638","Daglish - 6008","Dale - 6304","Daliak - 6302","Dalkeith - 6009","Dalwallinu - 6609","Dalyellup - 6230","Dalyup - 6450","Dampier - 6713","Dampier Archipelago - 6713","Dampier Peninsula - 6725","Dandanning - 6479","Dandaragan - 6507","Dangin - 6383","Darch - 6065","Dardanup - 6236","Dardanup West - 6236","Darkan - 6392","Darling Downs - 6122","Darlington - 6070","Darradup - 6275","Dartmoor - 6532","Dartnall - 6320","Datatine - 6317","Davenport - 6230","Dawesville - 6210","De Grey - 6722","Deanmill - 6258","Deepdale - 6532","Deepdene - 6290","Denbarker - 6324","Denham - 6537","Denmark - 6333","Derby - 6728","Devils Creek - 6630","Dewars Pool - 6567","Diamond Tree - 6258","Dianella - 6059","Dindiloa - 6532","Dingup - 6258","Dinninup - 6244","Dirk Hartog - 6537","Dixvale - 6258","Djugun - 6725","Dongara - 6525","Dongolocking - 6315","Donnelly River - 6258","Donnybrook - 6239","Doodenanning - 6383","Doodlakine - 6411","Doongin - 6409","Dorre Island - 6701","Doubleview - 6018","Dowerin - 6461","Drome - 6330","Drummond Cove - 6532","Dryandra - 6311","Drysdale River - 6740","Dudawa - 6519","Dudinin - 6363","Dudley Park - 6210","Dukin - 6475","Dulbelling - 6383","Dulyalbin - 6425","Dumbarton - 6566","Dumberning - 6312","Dumbleyung - 6350","Duncraig - 6023","Dundas - 6443","Dunn Rock - 6355","Dunsborough - 6281","Durack - 6743","Duranillin - 6393","Durawah - 6532","Dwarda - 6308","Dwellingup - 6213","Eagle Bay - 6281","East Augusta - 6290","East Ballidu - 6606","East Beverley - 6304","East Bowes - 6535","East Bunbury - 6230","East Cannington - 6107","East Carnarvon - 6701","East Chapman - 6532","East Damboring - 6608","East Fremantle - 6158","East Lyons River - 6705","East Munglinup - 6450","East Murchison - 6640","East Nabawa - 6532","East Nannup - 6275","East Newdegate - 6355","East Perth - 6004","East Perth - 6892","East Pingelly - 6308","East Popanyinning - 6309","East Rockingham - 6168","East Victoria Park - 6101","East Victoria Park - 6981","East Wickepin - 6370","East Yuna - 6532","Eastbrook - 6260","Eaton - 6232","Eden Hill - 6054","Edgewater - 6027","Eganu - 6515","Eglinton - 6034","Eighty Mile Beach - 6725","Elabbin - 6490","Elachbutting - 6479","Elgin - 6237","Elleker - 6330","Ellenbrook - 6069","Ellendale - 6532","Embleton - 6062","Emu Flat - 6431","Emu Hill - 6369","Emu Point - 6330","Eneabba - 6518","Ennuin - 6484","Eradu - 6532","Eradu South - 6532","Erskine - 6210","Esperance - 6450","Etmilyn - 6213","Eucla - 6443","Eurardy - 6532","Ewlyamartup - 6317","Exmouth - 6707","Exmouth Gulf - 6707","Fairbridge - 6208","Falcon - 6210","Ferguson - 6236","Ferndale - 6148","Feysville - 6431","Fimiston - 6432","Finucane - 6722","Fitzgerald - 6337","Fitzgerald River National Park - 6346","Fitzroy Crossing - 6765","Flint - 6302","Floreat - 6014","Floreat Forum - 6014","Flynn - 6302","Forest Grove - 6286","Forest Hill - 6324","Forrest - 6434","Forrest Beach - 6271","Forrestania - 6359","Forrestdale - 6112","Forrestfield - 6058","Fortescue - 6716","Francois Peron National Park - 6537","Frankland - 6396","Fraser Range - 6443","Fremantle - 6160","Fremantle - 6959","Frenchman Bay - 6330","Furnissdale - 6210","Gabalong - 6574","Gabbadah - 6041","Gabbin - 6476","Gairdner - 6337","Gap Ridge - 6714","Garden Island - 6168","Gascoyne Junction - 6705","Gascoyne River - 6705","Geegully Creek - 6728","Gelorup - 6230","Geographe - 6280","Georgina - 6532","Geraldton - 6530","Geraldton - 6531","Geraldton Dc - 6530","Ghooli - 6426","Gibb - 6743","Gibson - 6448","Gidgegannup - 6083","Gilgering - 6302","Gillimanning - 6308","Gillingarra - 6510","Gilroyd - 6701","Gingerah - 6725","Gingin - 6503","Ginginup - 6503","Girrawheen - 6064","Gledhow - 6330","Glen Forrest - 6071","Glen Iris - 6230","Glen Mervyn - 6239","Glencoe - 6316","Glendalough - 6016","Glenfield - 6532","Glenlynn - 6256","Glenoran - 6258","Glentromie - 6509","Gnangara - 6065","Gnarabup - 6285","Gnoorea - 6714","Gnowangerup - 6335","Gnowellen - 6328","Golden Bay - 6174","Goldsworthy - 6723","Goode Beach - 6330","Goodlands - 6468","Goomalling - 6460","Goomarin - 6415","Gooseberry Hill - 6076","Gorge Rock - 6375","Gorrie - 6556","Gosnells - 6110","Gosnells - 6990","Gracetown - 6284","Granville - 6503","Grass Patch - 6446","Grass Valley - 6403","Green Head - 6514","Green Range - 6328","Green Valley - 6330","Greenbushes - 6254","Greenfields - 6210","Greenhills - 6302","Greenmount - 6056","Greenough - 6532","Greenwood - 6024","Greenwood - 6924","Greenwoods Valley - 6405","Gregory - 6535","Grey - 6521","Greys Plain - 6701","Grimwade - 6253","Guilderton - 6041","Guildford - 6055","Guildford - 6935","Gundaring - 6315","Gunyidi - 6513","Gutha - 6623","Gwambygine - 6302","Gwelup - 6018","Gwelup Dc - 6018","Gwindinup - 6237","Hacketts Gully - 6076","Halls Creek - 6770","Halls Head - 6210","Hamel - 6215","Hamelin Bay - 6288","Hamelin Pool - 6532","Hamersley - 6022","Hamersley Range - 6716","Hamilton Hill - 6163","Hamilton Hill - 6963","Hammond Park - 6164","Hannans - 6430","Hannans - 6433","Harris River - 6225","Harrismith - 6361","Harvey - 6220","Hastings - 6308","Hay - 6333","Hazelmere - 6055","Hazelvale - 6333","Heathridge - 6027","Helena Valley - 6056","Henderson - 6166","Henley Brook - 6055","Henty - 6236","Herdsman - 6017","Herne Hill - 6056","Herron - 6210","Hester - 6255","Hester Brook - 6255","Hickety - 6532","Higginsville - 6443","High Wycombe - 6057","Highbury - 6313","Highgate - 6003","Hill River - 6521","Hillarys - 6025","Hillarys - 6923","Hillman - 6168","Hillman River - 6391","Hillside - 6312","Hilton - 6163","Hindmarsh - 6462","Hines Hill - 6413","Hithergreen - 6280","Hocking - 6065","Hoddys Well - 6566","Hoffman - 6220","Holleton - 6426","Holmwood - 6522","Holt Rock - 6355","Holyoake - 6213","Home Island Cocos (keeling) - 6799","Hope Valley - 6165","Hopeland - 6125","Hopetoun - 6348","Horrocks - 6535","Hovea - 6071","Howatharra - 6532","Howick - 6450","Hulongine - 6460","Huntingdale - 6110","Hyden - 6359","Ikewa - 6522","Illawarra - 6111","Iluka - 6028","Indee - 6721","Inggarda - 6701","Inglehope - 6213","Inglewood - 6052","Inglewood - 6932","Inkpen - 6302","Innaloo - 6018","Innaloo - 6918","Innawanga - 6751","Irishtown - 6401","Irwin - 6525","Israelite Bay - 6452","Isseka - 6535","Jackitup - 6335","Jacup - 6337","Jalbarragup - 6275","Jaloran - 6315","Jandabup - 6065","Jandakot - 6164","Jane Brook - 6056","Jardee - 6258","Jarrahdale - 6124","Jarrahwood - 6275","Jelcobine - 6306","Jennacubbine - 6401","Jennapullin - 6401","Jerdacuttup - 6346","Jerramungup - 6337","Jibberding - 6612","Jilakin - 6365","Jindalee - 6036","Jindong - 6280","Jingalup - 6395","Jitarning - 6365","Jolimont - 6014","Joondalup - 6027","Joondalup Dc - 6027","Joondalup Dc - 6919","Joondanna - 6060","Julimar - 6567","Juna Downs - 6751","Jurien Bay - 6516","Kadathinni - 6519","Kalamunda - 6076","Kalamunda - 6926","Kalannie - 6468","Kalbarri - 6536","Kalbarri National Park - 6536","Kalgan - 6330","Kalgoorlie - 6430","Kalgoorlie - 6433","Kalgup - 6280","Kallaroo - 6025","Kaloorup - 6280","Kalumburu - 6740","Kambalda - 6442","Kangaroo Gully - 6255","Kanowna - 6431","Karakin - 6044","Karawara - 6152","Kardinya - 6163","Karijini - 6751","Karlgarin - 6358","Karlkurla - 6430","Karloning - 6479","Karloo - 6530","Karnup - 6176","Karragullen - 6111","Karrakatta - 6010","Karrakup - 6122","Karramindie - 6429","Karranadgin - 6460","Karratha - 6714","Karratha Industrial Estate - 6714","Karridale - 6288","Karrinyup - 6018","Karrinyup - 6921","Karroun Hill - 6472","Katanning - 6317","Katrine - 6566","Kauring - 6302","Kealy - 6280","Kebaringup - 6335","Kellerberrin - 6410","Kelmscott - 6111","Kelmscott - 6991","Kelmscott Dc - 6111","Kelmscott Dc - 6997","Kendenup - 6323","Kenmare - 6316","Kennedy Range - 6701","Kensington - 6151","Kentdale - 6333","Kenwick - 6107","Kewdale - 6105","Keysbrook - 6126","Kiara - 6054","Kimbolton - 6728","King Leopold Ranges - 6728","King River - 6330","Kings Park - 6005","Kingsford - 6701","Kingsley - 6026","Kingston - 6256","Kinross - 6028","Kirk Rock - 6370","Kirup - 6251","Kojaneerup South - 6328","Kojarena - 6532","Kojonup - 6395","Kokeby - 6304","Kondinin - 6367","Kondut - 6605","Konnongorring - 6603","Koojan - 6510","Kookynie - 6431","Koolan Island - 6733","Koolanooka - 6623","Koolyanobbing - 6427","Koomberkine - 6461","Koondoola - 6064","Koongamia - 6056","Koorda - 6475","Korbel - 6415","Kordabup - 6333","Korrelocking - 6485","Kronkup - 6330","Kudardup - 6290","Kuender - 6353","Kukerin - 6352","Kulikup - 6244","Kulin - 6365","Kulin West - 6365","Kulja - 6470","Kumarina - 6642","Kunjin - 6375","Kununoppin - 6489","Kununurra - 6743","Kurnalpi - 6431","Kurrenkutten - 6375","Kweda - 6306","Kwelkan - 6490","Kwinana Beach - 6167","Kwinana Town Centre - 6167","Kwolyin - 6385","Lagrange - 6725","Lake Argyle - 6743","Lake Austin - 6640","Lake Biddy - 6355","Lake Brown - 6479","Lake Camm - 6355","Lake Carnegie - 6646","Lake Clifton - 6215","Lake Darlot - 6438","Lake Deborah - 6484","Lake Grace - 6353","Lake Hinds - 6603","Lake Jasper - 6260","Lake King - 6356","Lake Margarette - 6475","Lake Muir - 6258","Lake Ninan - 6603","Lake Toolbrunup - 6320","Lake Wells - 6440","Lakelands - 6210","Lakewood - 6431","Lamington - 6430","Lancelin - 6044","Landsdale - 6065","Lange - 6330","Langford - 6147","Latham - 6616","Lathlain - 6100","Laverton - 6440","Learmonth - 6707","Leda - 6170","Ledge Point - 6043","Leederville - 6007","Leederville - 6900","Leederville - 6902","Leederville - 6903","Leeman - 6514","Leeming - 6149","Leeuwin - 6290","Leinster - 6437","Lennard Brook - 6503","Leonora - 6438","Leschenault - 6233","Lesmurdie - 6076","Lexia - 6065","Lime Lake - 6315","Linfarne - 6258","Little Grove - 6330","Little Italy - 6355","Little Sandy Desert - 6646","Lockier - 6522","Lockridge - 6054","Lockyer - 6330","Lol Gray - 6311","Londonderry - 6429","Lort River - 6447","Lowden - 6240","Lower Chittering - 6084","Lower Hotham - 6390","Lower King - 6330","Lowlands - 6330","Ludlow - 6280","Lumeah - 6395","Lyalls Mill - 6225","Lyndon - 6701","Lynwood - 6147","Macleod - 6701","Maddington - 6109","Maddington - 6989","Madeley - 6065","Madora Bay - 6210","Madura - 6443","Magenta - 6355","Magitup - 6338","Mahogany Creek - 6072","Mahomets Flats - 6530","Maida Vale - 6057","Maitland - 6714","Malabaine - 6401","Malaga - 6090","Malaga - 6944","Malebelling - 6302","Mallee Hill - 6353","Malmalling - 6556","Malyalling - 6370","Mandogalup - 6167","Mandurah - 6210","Mandurah Dc - 6210","Mangowine - 6479","Manjimup - 6258","Manmanning - 6465","Manning - 6152","Manypeaks - 6328","Marangaroo - 6064","Maranup - 6256","Marbelup - 6330","Marble Bar - 6760","Marchagee - 6515","Mardella - 6125","Mardie - 6714","Margaret River - 6285","Mariginiup - 6065","Marmion - 6020","Marne - 6608","Marracoonda - 6317","Marradong - 6390","Marrah - 6532","Marrinup - 6213","Martin - 6110","Marvel Loch - 6426","Marybrook - 6280","Massey Bay - 6701","Mauds Landing - 6701","Mawson - 6383","Maya - 6614","Mayanup - 6244","Maylands - 6051","Maylands - 6931","Mcalinden - 6225","Mcbeath - 6770","Mckail - 6330","Meadow - 6532","Meadow Springs - 6210","Meckering - 6405","Meda - 6728","Medina - 6167","Meekatharra - 6642","Meelon - 6208","Meenaar - 6401","Meerup - 6262","Melaleuca - 6065","Melville - 6156","Melville - 6956","Menora - 6050","Menzies - 6436","Merilup - 6352","Merivale - 6450","Merkanooka - 6625","Merredin - 6415","Merriwa - 6030","Meru - 6530","Metricup - 6280","Miamoon - 6612","Middle Swan - 6056","Middlesex - 6258","Middleton Beach - 6330","Midland - 6056","Midvale - 6056","Miling - 6575","Millars Well - 6714","Millbridge - 6232","Millbrook - 6330","Millendon - 6056","Mills Lake - 6336","Millstream - 6716","Milo - 6525","Milpara - 6330","Mimegarra - 6507","Mindarabin - 6336","Mindarie - 6030","Mindarra - 6503","Minding - 6315","Mingenew - 6522","Minigin - 6312","Minilya - 6701","Minnenooka - 6532","Minnivale - 6462","Minyirr - 6725","Mira Mar - 6330","Mirrabooka - 6061","Mirrabooka - 6941","Mitchell Plateau - 6740","Mobrup - 6395","Mocardy - 6603","Mogumber - 6506","Mokine - 6401","Mollerin - 6475","Molloy Island - 6290","Monjebup - 6338","Monjingup - 6450","Monkey Mia - 6537","Moodiarrup - 6393","Moojebing - 6317","Mooliabeenee - 6504","Moondah - 6503","Moondyne - 6567","Moonies Hill - 6320","Moonyoonooka - 6532","Moora - 6510","Moore River National Park - 6503","Mooriary - 6522","Moorine Rock - 6425","Morangup - 6083","Morawa - 6623","Morbinning - 6304","Mordalup - 6258","Moresby - 6530","Morgantown - 6701","Morley - 6062","Morley - 6943","Mornington - 6221","Mosman Park - 6012","Mosman Park - 6912","Moulyinning - 6351","Mount Adams - 6525","Mount Anketell - 6714","Mount Barker - 6324","Mount Budd - 6522","Mount Burges - 6429","Mount Caroline - 6410","Mount Claremont - 6010","Mount Clarence - 6330","Mount Cooke - 6390","Mount Elphinstone - 6330","Mount Erin - 6532","Mount Hampton - 6426","Mount Hardey - 6302","Mount Hardman - 6765","Mount Hawthorn - 6016","Mount Hawthorn - 6915","Mount Helena - 6082","Mount Hill - 6528","Mount Holland - 6426","Mount Horner - 6525","Mount Jackson - 6426","Mount Lawley - 6050","Mount Lindesay - 6333","Mount Madden - 6356","Mount Magnet - 6638","Mount Melville - 6330","Mount Nasura - 6112","Mount Ney - 6447","Mount Observation - 6302","Mount Palmer - 6426","Mount Pleasant - 6153","Mount Richon - 6112","Mount Romance - 6333","Mount Sheila - 6751","Mount Sheridan - 6355","Mount Stirling - 6383","Mount Tarcoola - 6530","Mount Walker - 6369","Mount Wells - 6390","Mouroubra - 6472","Muchea - 6501","Muckenburra - 6503","Mueller Ranges - 6770","Muja - 6225","Mukinbudin - 6479","Mulataga - 6714","Mulga Downs - 6751","Mullaloo - 6027","Mullalyup - 6252","Mullewa - 6630","Mullingar - 6430","Muluckine - 6401","Mumballup - 6225","Mumberkine - 6401","Mundabullangana - 6721","Mundaring - 6073","Mundaring Dc - 6073","Mundaring Weir - 6073","Mundijong - 6123","Mundrabilla - 6443","Mungalup - 6225","Munglinup - 6450","Munster - 6166","Muntadgin - 6420","Muradup - 6394","Murchison - 6630","Murdoch - 6150","Murdong - 6317","Muresk - 6401","Myalup - 6220","Myara - 6207","Myaree - 6154","Myrup - 6450","Nabawa - 6532","Nairibin - 6350","Nalkain - 6485","Nalyerlup - 6338","Namban - 6512","Nambeelup - 6207","Nambung - 6521","Nanarup - 6330","Nanga - 6537","Nanga Brook - 6215","Nangeenan - 6414","Nangetty - 6522","Nannup - 6275","Nanson - 6532","Nanutarra - 6751","Napier - 6330","Naraling - 6532","Narembeen - 6369","Narngulu - 6532","Narra Tarra - 6532","Narrakine - 6391","Narraloggan - 6302","Narrikup - 6326","Narrogin - 6312","Narrogin Valley - 6312","Naturaliste - 6281","Naval Base - 6165","Neale - 6440","Nedlands - 6009","Nedlands - 6909","Nedlands Dc - 6009","Needilup - 6336","Neendaling - 6353","Neerabup - 6031","Neergabby - 6503","Nembudding - 6485","Neridup - 6450","Nerramyne - 6630","Nerren Nerren - 6532","New Norcia - 6509","Newcarlbeon - 6475","Newdegate - 6355","Newlands - 6251","Newman - 6753","Nickol - 6714","Nilgen - 6044","Nillup - 6288","Ningaloo - 6701","Nippering - 6350","Nirimba - 6208","Noggerup - 6225","Nokaning - 6415","Nolba - 6532","Nollamara - 6061","Nomans Lake - 6312","Noranda - 6062","Nornalup - 6333","Norpa - 6415","Norseman - 6443","North Baandee - 6412","North Bannister - 6390","North Beach - 6020","North Beach - 6920","North Bodallin - 6424","North Boyanup - 6237","North Burngup - 6353","North Cascade - 6445","North Dandalup - 6207","North Eradu - 6532","North Fremantle - 6159","North Greenbushes - 6254","North Jindong - 6280","North Kellerberrin - 6410","North Kukerin - 6352","North Kununoppin - 6489","North Lake - 6163","North Lake Grace - 6353","North Moulyinning - 6351","North Perth - 6006","North Perth - 6906","North Plantations - 6701","North Stirlings - 6338","North Trayning - 6488","North Walpole - 6398","North West Cape - 6707","North Wialki - 6473","North Yelbeni - 6487","North Yunderup - 6208","Northam - 6401","Northampton - 6535","Northbridge - 6003","Northbridge - 6803","Northbridge - 6865","Northcliffe - 6262","Northern Gully - 6532","Nowergup - 6032","Nugadong - 6609","Nukarni - 6480","Nullagine - 6758","Nullaki - 6330","Nulsen - 6450","Nungarin - 6490","Nunierra - 6630","Nunile - 6566","Nyabing - 6341","Nyamup - 6258","Oakajee - 6532","Oakford - 6121","Oakley - 6208","Ocean Beach - 6333","Ocean Reef - 6027","O'connor - 6163","Ogilvie - 6535","Old Plains - 6569","Oldbury - 6121","Ongerup - 6336","Onslow - 6710","Oombulgurri - 6740","Ora Banda - 6431","Orana - 6330","Orange Grove - 6109","Orange Springs - 6503","Orchid Valley - 6394","Ord River - 6770","Orelia - 6167","Osborne Park - 6017","Osborne Park - 6916","Osborne Park - 6917","Osborne Park Dc - 6017","Osborne Park Dc - 6916","Osmington - 6285","Padbury - 6025","Palgarup - 6258","Pallinup - 6335","Palmdale - 6328","Palmer - 6225","Palmyra - 6157","Palmyra - 6957","Palmyra Dc - 6157","Palmyra Dc - 6961","Pannawonica - 6716","Pantapin - 6384","Paraburdoo - 6754","Paradise - 6236","Pardoo - 6721","Parker Range - 6426","Parkerville - 6081","Parkeston - 6434","Parkfield - 6233","Parklands - 6210","Parkwood - 6147","Parmelia - 6167","Parryville - 6333","Paulls Valley - 6076","Paynedale - 6239","Paynes Find - 6612","Paynesville - 6638","Peaceful Bay - 6333","Peak Hill - 6642","Pearsall - 6065","Peedamulla - 6710","Peerabeelup - 6260","Pegs Creek - 6714","Pelican Point - 6230","Pemberton - 6260","Peppermint Grove - 6011","Peppermint Grove Beach - 6271","Perenjori - 6620","Perillup - 6324","Peron - 6168","Perth - 6000","Perth - 6001","Perth - 6800","Perth - 6809","Perth - 6817","Perth - 6820","Perth - 6827","Perth - 6830","Perth - 6837","Perth - 6838","Perth - 6839","Perth - 6840","Perth - 6841","Perth - 6842","Perth - 6843","Perth - 6844","Perth - 6845","Perth - 6846","Perth - 6847","Perth - 6848","Perth Airport - 6105","Perth Gpo - 6000","Perup - 6258","Petrudor - 6468","Piawaning - 6572","Piccadilly - 6430","Pickering Brook - 6076","Picton - 6229","Picton East - 6229","Piesse Brook - 6076","Piesseville - 6315","Pindar - 6631","Pingaring - 6357","Pingelly - 6308","Pingrup - 6343","Pinjar - 6065","Pinjarra - 6208","Pink Lake - 6450","Pintharuka - 6623","Pinwernying - 6317","Pippingarra - 6722","Pithara - 6608","Plumridge Lakes - 6431","Point Grey - 6208","Point Samson - 6720","Popanyinning - 6309","Porongurup - 6324","Port Albany - 6330","Port Denison - 6525","Port Hedland - 6721","Port Kennedy - 6172","Postans - 6167","Preston Beach - 6215","Preston Settlement - 6225","Prevelly - 6285","Prince Regent River - 6740","Pumphreys Bridge - 6308","Purnululu - 6770","Quairading - 6383","Qualeup - 6394","Quedjinup - 6281","Queens Park - 6107","Queenwood - 6239","Quelagetting - 6405","Quellington - 6302","Quindalup - 6281","Quindanning - 6391","Quinninup - 6258","Quinns Rocks - 6030","Ranford - 6390","Rangeway - 6530","Ravensthorpe - 6346","Ravenswood - 6208","Rawlinna - 6434","Red Gully - 6503","Red Hill - 6056","Redbank - 6721","Redcliffe - 6104","Redgate - 6286","Redmond - 6327","Redmond West - 6327","Reedy - 6640","Regans Ford - 6507","Reinscourt - 6280","Remlap - 6472","Reservoir - 6076","Ridgewood - 6030","Ringbark - 6258","Riverton - 6148","Rivervale - 6103","Robinson - 6330","Rockingham - 6168","Rockingham - 6968","Rockingham Dc - 6168","Rockingham Dc - 6967","Rocklea - 6751","Rockwell - 6532","Rocky Gully - 6397","Roebourne - 6718","Roebuck - 6725","Roelands - 6226","Roleystone - 6111","Rosa Brook - 6285","Rosa Glen - 6285","Rossmore - 6401","Rossmoyne - 6148","Rothsay - 6620","Rottnest Island - 6161","Ruabon - 6280","Rudds Gully - 6532","Ryansbrook - 6395","Sabina River - 6280","Safety Bay - 6169","Salmon Gums - 6445","Salter Point - 6152","Samson - 6163","San Remo - 6210","Sandpatch - 6330","Sandsprings - 6532","Sandstone - 6639","Sandy Gully - 6535","Sawyers Valley - 6074","Scaddan - 6447","Scarborough - 6019","Scarborough - 6922","Schroeder - 6285","Scotsdale - 6333","Scott River - 6288","Scott River East - 6275","Scotts Brook - 6244","Seabird - 6042","Secret Harbour - 6173","Seppings - 6330","Serpentine - 6125","Seville Grove - 6112","Shackleton - 6386","Shadforth - 6333","Shannon - 6262","Shannon River Mill - 6258","Shark Bay - 6537","Shay Gap - 6761","Shelley - 6148","Shenton Park - 6008","Sherlock - 6714","Shoalwater - 6169","Shotts - 6225","Siesta Park - 6280","Silver Sands - 6210","Sinagra - 6065","Sinclair - 6450","Singleton - 6175","Sir Samuel - 6437","Skeleton Rock - 6426","Smith Brook - 6258","Solus - 6207","Somerville - 6430","Sorrento - 6020","South Bodallin - 6424","South Boulder - 6432","South Bunbury - 6230","South Burracoppin - 6421","South Carnarvon - 6701","South Caroling - 6383","South Datatine - 6317","South Doodlakine - 6411","South Fremantle - 6162","South Glencoe - 6317","South Greenough - 6528","South Guildford - 6055","South Hedland - 6722","South Kalgoorlie - 6430","South Kukerin - 6352","South Kumminin - 6368","South Kununoppin - 6489","South Lake - 6164","South Lake Grace - 6353","South Murchison - 6635","South Newdegate - 6355","South Perth - 6151","South Perth - 6951","South Plantations - 6701","South Quairading - 6383","South Stirling - 6324","South Trayning - 6488","South Yelbeni - 6487","South Yilgarn - 6426","South Yuna - 6532","South Yunderup - 6208","Southampton - 6253","Southern Brook - 6401","Southern Cross - 6426","Southern River - 6110","Spalding - 6530","Spearwood - 6163","Spencer Park - 6330","Spencers Brook - 6401","Springfield - 6525","Springs - 6308","St George Ranges - 6728","St James - 6102","St Ronans - 6302","Stake Hill - 6210","Stirling - 6021","Stirling Estate - 6271","Stirling Range National Park - 6338","Stoneville - 6081","Stove Hill - 6714","Strathalbyn - 6530","Stratham - 6237","Stratherne - 6309","Stratton - 6056","Strelley - 6721","Sturt Creek - 6770","Subiaco - 6008","Subiaco - 6904","Subiaco East - 6008","Success - 6164","Success - 6964","Sunnyside - 6256","Sunset Beach - 6530","Swan View - 6056","Swanbourne - 6010","Takalarup - 6324","Talandji - 6710","Talbot - 6302","Talbot West - 6302","Talgomine - 6490","Talisker - 6701","Tamala - 6532","Tamala Park - 6030","Tambellup - 6320","Tammin - 6409","Tanami - 6770","Tandegin - 6415","Tapping - 6065","Tarcoola Beach - 6530","Tardun - 6628","Tarin Rock - 6353","Tarwonga - 6391","Teesdale - 6213","Telfer - 6762","Tenindewa - 6632","Tenterden - 6322","The Lakes - 6556","The Plains - 6237","The Spectacles - 6167","The Vines - 6069","Thevenard Island - 6711","Thomson Brook - 6239","Thornlie - 6108","Thornlie - 6988","Three Springs - 6519","Throssell - 6401","Tibradden - 6532","Tincurrin - 6361","Tingledale - 6333","Tom Price - 6751","Tonebridge - 6244","Toodyay - 6566","Toolibin - 6312","Toolonga - 6532","Toompup - 6336","Torbay - 6330","Torndirrup - 6330","Townsendale - 6311","Trafalgar - 6431","Trayning - 6488","Treeton - 6284","Trent - 6333","Trigg - 6029","Trigwell - 6393","Tuart Hill - 6060","Tuart Hill - 6937","Tuart Hill - 6938","Tuart Hill - 6939","Tuart Hill - 6940","Turkey Hill - 6426","Tutunup - 6280","Two Rocks - 6037","Ucarty - 6462","Ucarty West - 6460","Uduc - 6220","Ularring - 6436","University Of Western Australia - 6907","Upper Capel - 6239","Upper Murray - 6390","Upper Swan - 6069","Upper Warren - 6258","Useless Loop - 6537","Usher - 6230","Utakarra - 6530","Valentine - 6532","Vancouver Peninsula - 6330","Varley - 6355","Vasse - 6280","Victoria Park - 6100","Victoria Park - 6979","Victoria Rock - 6429","Victory Heights - 6432","Vittoria - 6230","Viveash - 6056","Wadderin - 6369","Waddington - 6509","Waddy Forest - 6515","Waeel - 6407","Wagerup - 6215","Waggrakine - 6530","Wagin - 6315","Waikiki - 6169","Walebing - 6510","Walgoolan - 6422","Walkaway - 6528","Wallareenya - 6721","Wallaroo - 6429","Walliston - 6076","Walliston Dc - 6076","Walliston Dc - 6925","Walmsley - 6330","Walpole - 6398","Walsall - 6280","Walyormouring - 6460","Walyunga National Park - 6084","Walyurin - 6363","Wamenusking - 6383","Wandana - 6532","Wandering - 6308","Wandi - 6167","Wandillup - 6256","Wandina - 6530","Wanerie - 6503","Wangara - 6065","Wangara Dc - 6065","Wangara Dc - 6947","Wannamal - 6505","Wannanup - 6210","Wanneroo - 6065","Wanneroo - 6946","Wansbrough - 6320","Warawarrup - 6220","Warburton - 6431","Wardering - 6311","Warding East - 6405","Warmun - 6743","Warnbro - 6169","Warner Glen - 6288","Waroona - 6215","Warrachuppin - 6423","Warradarge - 6518","Warralakin - 6421","Warrenup - 6330","Warwick - 6024","Waterbank - 6725","Watercarrin - 6407","Waterford - 6152","Waterloo - 6228","Watermans Bay - 6020","Watheroo - 6513","Wattening - 6568","Wattle Grove - 6107","Wattleup - 6166","Wattoning - 6479","Webberton - 6530","Wedge Island - 6044","Wedgecarrup - 6315","Wedgefield - 6721","Welbungin - 6477","Weld Range - 6640","Wellard - 6170","Wellesley - 6233","Wellington Forest - 6236","Wellington Mill - 6236","Wellstead - 6328","Welshpool - 6106","Welshpool Dc - 6106","Welshpool Dc - 6986","Wembley - 6014","Wembley - 6913","Wembley Downs - 6019","West Ballidu - 6606","West Beach - 6450","West Binnu - 6532","West Busselton - 6280","West Cape Howe - 6330","West Coolup - 6214","West End - 6530","West Fitzgerald - 6337","West Holleton - 6369","West Island Cocos (keeling) - 6799","West Kalgoorlie - 6430","West Lamington - 6430","West Leederville - 6007","West Leederville - 6901","West Lyons River - 6705","West Perth - 6005","West Perth - 6872","West Pingelly - 6308","West Pinjarra - 6208","West Popanyinning - 6309","West River - 6346","West Swan - 6055","West Toodyay - 6566","Westdale - 6304","Westfield - 6111","Westminster - 6061","Westonia - 6423","Westwood - 6316","Whim Creek - 6718","Whitby - 6123","White Gum Valley - 6162","White Peak - 6532","Whiteman - 6068","Whittaker - 6207","Wialki - 6473","Wicherina - 6532","Wicherina South - 6532","Wickepin - 6370","Wickham - 6720","Widgiemooltha - 6443","Wilberforce - 6302","Wilbinga - 6041","Wilga - 6243","Wilga West - 6243","Wilgarrup - 6258","Wilgoyne - 6479","Willagee - 6156","Willare - 6728","Willetton - 6155","Willetton - 6955","William Bay - 6333","Williams - 6391","Williamstown - 6430","Willyung - 6330","Wilson - 6107","Wiluna - 6646","Wilyabrup - 6280","Winchester - 6517","Windabout - 6450","Windy Harbour - 6262","Winnejup - 6255","Winthrop - 6150","Witchcliffe - 6286","Withers - 6230","Wittenoom - 6751","Wittenoom Hills - 6447","Wogolin - 6370","Wokalup - 6221","Womarden - 6519","Wongamine - 6401","Wongan Hills - 6603","Wongoondy - 6630","Wonnerup - 6280","Wonthella - 6530","Woodanilling - 6316","Woodbridge - 6056","Woodlands - 6018","Woodleigh - 6701","Woodridge - 6041","Woodvale - 6026","Woogenellup - 6324","Woolgorong - 6630","Woolocutty - 6369","Wooramel - 6701","Wooroloo - 6558","Woorree - 6530","Woottating - 6562","Worsley - 6225","Wubin - 6612","Wundowie - 6560","Wungong - 6112","Wuraming - 6390","Wyalkatchem - 6485","Wyening - 6568","Wyndham - 6740","Wyola - 6407","Wyola West - 6407","Xantippe - 6609","Yabberup - 6239","Yakamia - 6330","Yalardy - 6701","Yalgoo - 6635","Yallabatharra - 6535","Yallingup - 6282","Yallingup Siding - 6282","Yalyalup - 6280","Yanchep - 6035","Yandanooka - 6522","Yandoo Creek - 6701","Yangebup - 6164","Yanmah - 6258","Yannarie - 6710","Yarawindah - 6509","Yardarino - 6525","Yarding - 6418","Yarloop - 6218","Yarragadee - 6522","Yathroo - 6507","Yeagarup - 6260","Yeal - 6503","Yealering - 6372","Yelbeni - 6487","Yellowdine - 6426","Yelverton - 6280","Yerecoin - 6571","Yetna - 6532","Yilkari - 6430","Yilliminning - 6312","Yoganup - 6275","Yokine - 6060","Yoongarillup - 6280","York - 6302","Yorkrakine - 6409","Yornaning - 6311","Yornup - 6256","Yoting - 6383","Youndegin - 6407","Youngs Siding - 6330","Yourdamung Lake - 6225","Yuna - 6532","Zanthus - 6434","Zuytdorp - 6536",];
       /*initiate the autocomplete function on the "myInput" element, and pass along the countries array as possible autocomplete values:*/
       autocomplete(document.getElementById("myInput"), countries);
       </script>
       ```
   
 * Many Thanks,
    Paul
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-dropdown-menu%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [8 years ago](https://wordpress.org/support/topic/javascript-dropdown-menu/#post-10228417)
 * Be sure you are also applying the styling offered in the example. Without it 
   it may appear like the arrow keys do not work, but it only appears that way because
   the selections are not correctly styled.

Viewing 1 replies (of 1 total)

The topic ‘JavaScript Dropdown menu’ is closed to new replies.

## Tags

 * [forms](https://wordpress.org/support/topic-tag/forms/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/javascript-dropdown-menu/#post-10228417)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
