Posts by Alex Parloti • 204 points
7 posts
-
1
votes1
answer108
viewsA: jQuery Form Serialize does not work
You need to use jQuery to order the '#pay' element'. A native HTML element does not have the method serializeArray, then replace the code var $form = document.querySelector('#pay'); for var $form =…
jqueryanswered Alex Parloti 204 -
1
votes2
answers1133
viewsA: Change Angular 9 material design color scheme
In the archive src/style.css, add: @import '@angular/material/prebuilt-themes/NOME_DO_TEMA'; Available topics. deeppurple-Amber.css Indigo-pink.css pink-bluegrey.css Purple-green.css Source: Using a…
-
0
votes2
answers49
viewsA: Angular 9 - When I paste the absolute link of an internal link of my site it gives error
Angular paths are not recognized by the server. You need to properly configure the web config. server, below an example for IIS. <?xml version="1.0" encoding="UTF-8"?> <configuration>…
angularanswered Alex Parloti 204 -
1
votes1
answer43
viewsA: Spend the month and year when the user clicks
You can use the Component mat-datepicker to obtain the desired result. <input matInput [matDatepicker]="picker"> <mat-datepicker startAt="2018-01-15" #picker></mat-datepicker>…
-
1
votes1
answer46
viewsA: Error returning values using $.getJSON
ontem and hoje are the objects that make the request, the returned data are available in the functions function(data) { /* faça qualquer coisa aqui */} To wait for both answers use when var ontem =…
-
1
votes1
answer288
viewsA: "Uncaught Referenceerror: Function is not defined" DOM error
You need to put all 50% in quotes, like this "50%". Functional example: https://www.w3schools.com/code/tryit.asp?filename=GHVFEKATVQH4…
-
-1
votes1
answer165
viewsA: Error when executing Angular project
Can’t bind to Since it isn’t a known Property of It usually occurs when you forget to import the module that contains the component or directory you are trying to use. As to Can’t resolve in You…