So erhalten Sie einen Stringwert für die Option Auswählen anstelle von Objekt: 1 usw. usw.HTML

HTML-Programmierer
Anonymous
 So erhalten Sie einen Stringwert für die Option Auswählen anstelle von Objekt: 1 usw. usw.

Post by Anonymous »

Wie kann ich Winkelwert mit der tatsächlichen Zeichenfolge machen.

Code: Select all

New York City
< /code>

Anstelle dieser < /p>

New York City
< /code>

Mein Code: < /p>



City:


Select


SubArea:


Select

SpecLoc:


Select
{{city}}


< /code>

Und hier ist das Scope -Array. Bitte ignorieren Sie die falsche Benennung (Länder/Städte). Es ist ein Beispiel < /p>

    $scope.countries = {
'New York City': {
'manhattan': ['Battery Park','Chelsea','Chinatown / Lit Italy','Downtown','East Harlem','East Village','Financial District','Flatiron','Gramercy','Greenwich Village','Harlem / Morningside','Inwood / Wash Hts','Lower East Side','Midtown','Midtown East','Midtown West','Murray Hill','Nolita / Bowery','SoHo','TriBeCa','Union Square','Upper East Side','Upper West Side','West Village'],
'brooklyn': [],
'queens': [],
'bronx': [],
'staten island': [],
'new jersey': [],
'long island': [],
'westchester': [],
'fairfield co': [],
'fairfield co, CT': []
},
'Chicago': {
'city of chicago': [],
'north chicagoland': [],
'west chicagoland': [],
'south chicagoland': [],
'northwest indiana': [],
'northwest suburbs': []
},
'Washington': {
'district of columbia': [],
'northern virginia': [],
'maryland': []

}
};
}
]);

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post
  • So lesen Sie einen großen Json-Stringwert als Stream in Java
    by Guest » » in Java
    0 Replies
    16 Views
    Last post by Guest
  • Dropdown -Option Value Value Codesigniter 4 auswählen
    by Anonymous » » in Php
    0 Replies
    31 Views
    Last post by Anonymous
  • HTML -Tags auswählen und Option
    by Anonymous » » in HTML
    0 Replies
    14 Views
    Last post by Anonymous
  • HTML -Tags auswählen und Option
    by Anonymous » » in HTML
    0 Replies
    9 Views
    Last post by Anonymous
  • Ändern Sie die Auswahl der Liste Option Option Hintergrundfarbe bei Schwebe
    by Anonymous » » in HTML
    0 Replies
    9 Views
    Last post by Anonymous