Default Checked Checkboxes

Python Angular JQuery

Python : {{Python}}, Angular : {{Angular}}, JQuery : {{JQuery}}
<div ng-app="my_app" ng-controller="my_ctrl">
<input type=checkbox ng-model="Python" > Python 
<input type=checkbox ng-model="Angular"> Angular
<input type=checkbox ng-model="JQuery"> JQuery
<br><br>
Python : {{Python}}, Angular : {{Angular}}, JQuery : {{JQuery}}
</div>

<script>
var app = angular.module('my_app', []);
app.controller('my_ctrl', function($scope) {
$scope.Angular=true 
});
</script>
Checkbox

Default value from External source

We can set the default value of Checkbox ( checked or not checked ) by using data from external sources. We will use JSON formatted string to set the status. JSON string is the final output and the same output as source can be generated from any database or from CSV file or from any other storage sources.
Angular Home

Post your comments , suggestion , error , requirements etc here

We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2021 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer