Created
November 10, 2014 17:50
-
-
Save aladagemre/3f2b79a27223e8ade514 to your computer and use it in GitHub Desktop.
Türkiye Şehir Listesi HTML Select Option
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select name="Sehir"> | |
<option value="0">------</option> | |
<option value="1">Adana</option> | |
<option value="2">Adıyaman</option> | |
<option value="3">Afyonkarahisar</option> | |
<option value="4">Ağrı</option> | |
<option value="5">Amasya</option> | |
<option value="6">Ankara</option> | |
<option value="7">Antalya</option> | |
<option value="8">Artvin</option> | |
<option value="9">Aydın</option> | |
<option value="10">Balıkesir</option> | |
<option value="11">Bilecik</option> | |
<option value="12">Bingöl</option> | |
<option value="13">Bitlis</option> | |
<option value="14">Bolu</option> | |
<option value="15">Burdur</option> | |
<option value="16">Bursa</option> | |
<option value="17">Çanakkale</option> | |
<option value="18">Çankırı</option> | |
<option value="19">Çorum</option> | |
<option value="20">Denizli</option> | |
<option value="21">Diyarbakır</option> | |
<option value="22">Edirne</option> | |
<option value="23">Elazığ</option> | |
<option value="24">Erzincan</option> | |
<option value="25">Erzurum</option> | |
<option value="26">Eskişehir</option> | |
<option value="27">Gaziantep</option> | |
<option value="28">Giresun</option> | |
<option value="29">Gümüşhane</option> | |
<option value="30">Hakkâri</option> | |
<option value="31">Hatay</option> | |
<option value="32">Isparta</option> | |
<option value="33">Mersin</option> | |
<option value="34">İstanbul</option> | |
<option value="35">İzmir</option> | |
<option value="36">Kars</option> | |
<option value="37">Kastamonu</option> | |
<option value="38">Kayseri</option> | |
<option value="39">Kırklareli</option> | |
<option value="40">Kırşehir</option> | |
<option value="41">Kocaeli</option> | |
<option value="42">Konya</option> | |
<option value="43">Kütahya</option> | |
<option value="44">Malatya</option> | |
<option value="45">Manisa</option> | |
<option value="46">Kahramanmaraş</option> | |
<option value="47">Mardin</option> | |
<option value="48">Muğla</option> | |
<option value="49">Muş</option> | |
<option value="50">Nevşehir</option> | |
<option value="51">Niğde</option> | |
<option value="52">Ordu</option> | |
<option value="53">Rize</option> | |
<option value="54">Sakarya</option> | |
<option value="55">Samsun</option> | |
<option value="56">Siirt</option> | |
<option value="57">Sinop</option> | |
<option value="58">Sivas</option> | |
<option value="59">Tekirdağ</option> | |
<option value="60">Tokat</option> | |
<option value="61">Trabzon</option> | |
<option value="62">Tunceli</option> | |
<option value="63">Şanlıurfa</option> | |
<option value="64">Uşak</option> | |
<option value="65">Van</option> | |
<option value="66">Yozgat</option> | |
<option value="67">Zonguldak</option> | |
<option value="68">Aksaray</option> | |
<option value="69">Bayburt</option> | |
<option value="70">Karaman</option> | |
<option value="71">Kırıkkale</option> | |
<option value="72">Batman</option> | |
<option value="73">Şırnak</option> | |
<option value="74">Bartın</option> | |
<option value="75">Ardahan</option> | |
<option value="76">Iğdır</option> | |
<option value="77">Yalova</option> | |
<option value="78">Karabük</option> | |
<option value="79">Kilis</option> | |
<option value="80">Osmaniye</option> | |
<option value="81">Düzce</option> | |
</select> |
Adana Adıyaman Afyonkarahisar Ağrı Aksaray Amasya Ankara Antalya Ardahan Artvin Aydın Balıkesir Bartın Batman Bayburt Bilecik Bingöl Bitlis Bolu Burdur Bursa Çanakkale Çankırı Çorum Denizli Diyarbakır Düzce Edirne Elazığ Erzincan Erzurum Eskişehir Gaziantep Giresun Gümüşhane Hakkari Hatay Iğdır Isparta İstanbul İzmir Kahramanmaraş Karabük Karaman Kars Kastamonu Kayseri Kırıkkale Kırklareli Kırşehir Kilis Kocaeli Konya Kütahya Malatya Manisa Mardin Mersin Muğla Muş Nevşehir Niğde Ordu Osmaniye Rize Sakarya Samsun Siirt Sinop Sivas Şanlıurfa Şırnak Tekirdağ Tokat Trabzon Tunceli Uşak Van Yalova Yozgat Zonguldak
SAGOLASIN
Çok teşekkürler
Çok sağol :D
Kolay gelsin :)
29 Eyl 2021 Çar 15:52 tarihinde MerveBozkurtOds ***@***.***>
şunu yazdı:
… ***@***.**** commented on this gist.
------------------------------
Çok sağol :D
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://gist.github.com/3f2b79a27223e8ade514#gistcomment-3909360>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALLPPVLYZSH5JMWQTKGOWWTUEMDZPANCNFSM4HKY76IA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
Teşekkür ederim..
Mükemmel bir paylaşım olmuş bunda emeği geçen herkesin ellerine sağlık
JSON array olarak ihtiyacı olan varsa;
[
{ id: 1, name: "Adana"},
{ id: 2, name: "Adıyaman"},
{ id: 3, name: "Afyonkarahisar"},
{ id: 4, name: "Ağrı"},
{ id: 5, name: "Amasya"},
{ id: 6, name: "Ankara"},
{ id: 7, name: "Antalya"},
{ id: 8, name: "Artvin"},
{ id: 9, name: "Aydın"},
{ id: 10, name: "Balıkesir"},
{ id: 11, name: "Bilecik"},
{ id: 12, name: "Bingöl"},
{ id: 13, name: "Bitlis"},
{ id: 14, name: "Bolu"},
{ id: 15, name: "Burdur"},
{ id: 16, name: "Bursa"},
{ id: 17, name: "Çanakkale"},
{ id: 18, name: "Çankırı"},
{ id: 19, name: "Çorum"},
{ id: 20, name: "Denizli"},
{ id: 21, name: "Diyarbakir"},
{ id: 22, name: "Edirne"},
{ id: 23, name: "Elazığ"},
{ id: 24, name: "Erzincan"},
{ id: 25, name: "Erzurum"},
{ id: 26, name: "Eskişehir"},
{ id: 27, name: "Gaziantep"},
{ id: 28, name: "Giresun"},
{ id: 29, name: "Gümüşhane"},
{ id: 30, name: "Hakkari"},
{ id: 31, name: "Hatay"},
{ id: 32, name: "Isparta"},
{ id: 33, name: "Mersin"},
{ id: 34, name: "İstanbul"},
{ id: 35, name: "İzmir"},
{ id: 36, name: "Kars"},
{ id: 37, name: "Kastamonu"},
{ id: 38, name: "Kayseri"},
{ id: 39, name: "Kırklareli"},
{ id: 40, name: "Kırşehir"},
{ id: 41, name: "Kocaeli"},
{ id: 42, name: "Konya"},
{ id: 43, name: "Kütahya"},
{ id: 44, name: "Malatya"},
{ id: 45, name: "Manisa"},
{ id: 46, name: "Kahramanmaraş"},
{ id: 47, name: "Mardin"},
{ id: 48, name: "Muğla"},
{ id: 49, name: "Muş"},
{ id: 50, name: "Nevşehir"},
{ id: 51, name: "Niğde"},
{ id: 52, name: "Ordu"},
{ id: 53, name: "Rize"},
{ id: 54, name: "Sakarya"},
{ id: 55, name: "Samsun"},
{ id: 56, name: "Siirt"},
{ id: 57, name: "Sinop"},
{ id: 58, name: "Sivas"},
{ id: 59, name: "Tekirdağ"},
{ id: 60, name: "Tokat"},
{ id: 61, name: "Trabzon"},
{ id: 62, name: "Tunceli"},
{ id: 63, name: "Şanlıurfa"},
{ id: 64, name: "Uşak"},
{ id: 65, name: "Van"},
{ id: 66, name: "Yozgat"},
{ id: 67, name: "Zonguldak"},
{ id: 68, name: "Aksaray"},
{ id: 69, name: "Bayburt"},
{ id: 70, name: "Karaman"},
{ id: 71, name: "Kırıkkale"},
{ id: 72, name: "Batman"},
{ id: 73, name: "Şırnak"},
{ id: 74, name: "Bartın"},
{ id: 75, name: "Ardahan"},
{ id: 76, name: "Iğdır"},
{ id: 77, name: "Yalova"},
{ id: 78, name: "Karabük"},
{ id: 79, name: "Kilis"},
{ id: 80, name: "Osmaniye"},
{ id: 81, name: "Düzce"}
]
büyük kolaylık
Beyler çok sağolun harikasınız yeminle
JSON olarak koymuşlar bir de, siz ne delikanlı adamsınız ya
thank you
İl ve illerin ilçelerini JSON olarak almak isteyenler için tek tek elimlen yaptım :)
https://github.com/kahramanX/araba-kiralama-app/blob/main/public/api/il-api.js
Mükemmel bir GİST!!!
Teşekkürler +++
Teşekkürler.
keşke amelelik yapmadan önce görseydim
Emeği geçen herkese çok teşekkürler.
:)
Teşekkürler
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AJAX ile kullanım için bir örnek de ben atayım.
ALFABETİK İL SIRASINDA
PLAKA İL SIRASINDA