Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to hide div based on select the dropdown in angular js

var app = angular.module('myApp', []);
app.controller('myCtrl', function ($scope) {
    // $scope.showInput = true;
    // $scope.getOption = function (value) {
    //     if (value.studentType == "angularjs") {
    //         $scope.showInput = false;
    //     }
    // };
});
 
PREVIOUS NEXT
Tagged: #How #hide #div #based #select #dropdown #angular #js
ADD COMMENT
Topic
Name
5+4 =