Posts by Di Boa • 443 points
11 posts
-
0
votes2
answers155
viewsA: "Click" does not work at the angle
In this case, you will have to use @Output() @Output() menu = new EventEmitter() emitAddEvent(){ this.menu.emit(this.menuItem) }…
-
4
votes2
answers1012
viewsQ: Validation of Time
Guys I’m doing an hour validation on Javascript. I can’t type the following hours 14:00, 15:00, 16:00 until 20:00, but other hours I can get. I’m doing like this: var mask = "HH:MM", pattern = {…
-
0
votes0
answers39
viewsQ: Sonnar Error In Java Classes - Add Copyright
I’m dealing with an error in Sonnar and an error has appeared in all my classes to add a Copyright Header. **Add or update the header of this file. ** I’ve done that, but the mistake goes on. My…
-
3
votes4
answers31555
viewsQ: Remove special characters and accents in javascript
People I’m trying to remove special characters in javascript. But I have a problem, the character is being deleted and this is not what I wanted. I would like only the special character to be…
-
1
votes1
answer46
viewsQ: Auto complete of Jqueryui
I’m not being able to list my Json in the jqueryui autocomplete. In the browser console I see that it is calling no more shows at the time I apply the append in LI. $(function(){ var mostraLista =…
-
2
votes2
answers3219
viewsQ: Picking up text field content via ID using Javascript
I have a checkbox that at the time I select and search the value in the field type="text", one of the fields is working perfectly but the second field does not work. function pega(){ var opcao =…
-
11
votes3
answers1147
viewsQ: Add and remove styles of a particular selection by clicking a button
I have a javascript function that applies a certain style in some classes, and would like to know how to take this style by clicking the same button. var botao = document.getElementById("troca");…
-
3
votes2
answers286
viewsQ: Javascript for the Angular
I’m kind of new at Angular, could someone help me convert this code into Javascript for angular. window.onload = function(){ var campo1 = document.getElementById("campo1").value; if(campo1 == 0.00){…
-
2
votes1
answer4505
viewsQ: Disable button in Angular depending on a variable
I have a problem, I have a condition at the angle when my situation is PENDING, will disable two button. $scope.situacaoParcelaPendente = "PENDENTE"; /*ultimo teste*/ if…
-
1
votes2
answers5484
viewsA: Apply css to all elements except some specific ones
Then you can take the main div and apply the css. p:not(.principal span) { /* efeito do css */ }…
-
3
votes2
answers1114
viewsQ: Put Dollar " R$ " in angular
I need to put a R$ in Angularjs. The Code is this, someone could help me and is returning a value in value. $scope.addValue = function(el) { var element =…