TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Md Ghouse
NA
63
12.7k
why dropdown not showing values
Jul 28 2016 7:44 AM
this is my dropdownList here data comming from db but dropdown not showing plese help me
<select id="ddlDepartment" class="form-control" data-modal="modal" ng-model="employeeDepartment" ng-options="dep.CountryID as dep.CountryName for dep in departments" ng-required="true">
<option value="" disabled selected>--Select Department--</option>
<option data-ng-repeat="dep in departments" value="{{dep.CountryID}}">{{dep.CountryName}}</option>
</select>
function GetDepartments() {
var departments = Mysercive.BindCntryList();
departments.then(function (dep) {
$scope.departments = dep.data;
}
});
Reply
Answers (
2
)
How to allow zooming for touch devices?
Which is the best code for creating a quiz