Created
September 9, 2015 02:30
-
-
Save aloha1003/08441aca361f63f58ee8 to your computer and use it in GitHub Desktop.
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
<div class="areaA"> | |
<select ng-model="areaACountry" ng-options="citys for (citys, areaACountry) in zipCodes" ></select> | |
<select ng-model="areaATown" | |
ng-options="areas for (areas, zipcode) in areaACountry" ></select> | |
</div> | |
<div class="areaB"> | |
<input type="checkbox" id="areaBAsAreaA" ng-checked="areaBAsAreaA()" />與AreaA相同內容<br /> | |
<select ng-model="areaBCountry" ng-options="citys for (citys, areaBCountry) in zipCodes" ></select> | |
<select ng-model="areaBTown" | |
ng-options="areas for (areas, zipcode) in areaBCountry" ></select> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment