Posts by mfklauberg • 66 points
4 posts
-
1
votes2
answers1101
viewsA: getJSON Ajax for JSON with multiple objects
You can continue using the same, only with one more iteration on the returned object. $(document).ready(function () { $.getJSON('dados.json', function (dados) { var objKeys = Object.keys(dados); for…
-
1
votes3
answers1572
viewsA: Create directive for mask
Use the function $watch within the link function, where it will observe the changes that occur in the property, and then you can apply the mask logic in the date value. scope.$watch('propriedade',…
angularjsanswered mfklauberg 66 -
1
votes2
answers947
viewsA: How to perform a simple state and city search with jquery and json
You can get the JSON file through the method $.getJSON(path), that returns you a Promise. Based on this Promise, you can check the data contained in the file if it has been recovered successfully.…
-
2
votes2
answers1059
viewsA: Position of DIV relative to another with dynamic content
Tries to change the .rodape for: .rodape { background-color: #013852; height: 380px; width: 100%; margin-top: 30px; position: static; bottom: 0; } Edited He hadn’t taken my call .content be as…