Questions tagged as 'html'

1
answer

Hide information from an ionic / angular collapse

I have a collapse that works fine, however I need to hide / show the trigger according to the index of that product. What I currently have: Html: <p data-toggle="collapse" attr.data-target="#{{pergunta.id_pergunta}}" (click)="hideInform...
asked by 02.08.2018 / 15:12
1
answer

Problem displaying images and icon on site

Good afternoon, I have a problem with the images. page icon image add the path and the image there is folder of the project, however it is not being displayed, can this be some aspect of the image? final view image I added some image to...
asked by 07.07.2018 / 23:01
1
answer

How to align a photo in the center of the page?

I know that to align a text is used text-align: center . But to align a photo that has a link in it? I did tests here with commands that I do not know, like align-content , to see if it worked, but it did not. I have two questions...
asked by 18.08.2018 / 21:53
1
answer

Two on-change in a select

Good morning, I have the following html code: <select class="form-control" formControlName="tipoped" on-change="PesquisaPrazo('prazo', this.digitacaoForm)" on-change="PegarCfop(this.digitacaoForm)" id="q3Id"> <option sel...
asked by 21.08.2018 / 15:22
1
answer

When I give a post in the form I get this error: TypeError: _co.postCreateTypeFields is not a function

This is my html: <div class="container"> <form [formGroup]="form" (ngSubmit)="postCreateTypeFields()" style="width:400px; margin: 0 auto;"> <h1>Types Fields</h1> <div class="required-field-block">...
asked by 16.07.2018 / 22:32
1
answer

Edit table in Angular 6

I have had some problems, because I am not familiar with Angular 6. I have this table: <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <table class="table table-striped table...
asked by 17.07.2018 / 19:28
1
answer

I can not load data into an angular mat-select 6

This is my html <div class="container"> <form [formGroup]="createForm" (ngSubmit)="onPostCreateTypeFields()" style="width:400px; margin: 0 auto;"> <h1>Fields</h1> <div class="required-field-block">...
asked by 18.07.2018 / 16:00
2
answers

How to manipulate date in HTML?

I'm thinking of a scheme, but I do not know how to do it and it's simple. I need to do the following calculation: Day and Month x Month and Day, example, today's date: Dia: 16 Mês: 07 x (vezes) Mês: 07 Dia: 16 In a calculator it will loo...
asked by 16.07.2018 / 16:55
2
answers

Submit being called twice

I have a form where I need to intercept the submit event, cancel it and via Ajax, make the necessary request. However, even using preventDefault(); and return false; submit is running twice. $("#frmTeste").on('s...
asked by 06.11.2018 / 05:20
1
answer

Integrate JavaScript

I have a questionnaire where the user will answer x questions and will receive a response at the end, when you click the "answer" button. I made the first version where everything is working, except that in this version the questions are all...
asked by 07.11.2018 / 16:56