Questions tagged as 'html'

1
answer

Creating a product registration with javascript

I'm not able to register a book in an app I'm creating, is this validation with ajax correct? <b>var cadastrado = null;</b> <b> function ValidarLivro (){ var nome = $("#nomelivro").val(); var descricao = $("#descric...
asked by 18.10.2018 / 00:49
1
answer

ng-change with dynamic object

Good morning, I'm using angle 2 and I'm having trouble using the 'ng-change' property after I dynamically generate the object below: <input type=text class="insert" id="input' + data.id + '" ng-model="input" ng-change="myFunction()" maxle...
asked by 18.10.2018 / 14:55
0
answers

PHP - Showing errors while making submit.

When showing success message after making password change, it shows these errors. -------Thisistheactionusedtochangethepassword---------- NOTE:Theerrorsshownarerelatedtootheractionsonotherforms.     
asked by 18.10.2018 / 03:09
0
answers

Angle animation only works in transition "enter"

I'm trying to put a fadein / fadeout effect, but it's only working fadeIn, when hide happens the element disappears instantly. I tried: @Component({ selector: 'app-confprecificacao', templateUrl: './confprecificacao.component.html', s...
asked by 18.10.2018 / 18:30
1
answer

How to block retroactive dates in input datetime?

I have a form with input of type datetime-local and I need to block the insertion of retroactive dates, how do I do this? <form name="F1" id="edit-profile" class="form-horizontal" action="" method="post" enctype="multipart/for...
asked by 18.10.2018 / 16:12
2
answers

Set Section [Position: absolute]

People, I'm making a website as a college project, however I'm picking up a little to solve a problem with the positions of the elements. I have 3 sections, one set to be Header, one set to be Contents and one set to be Footer. The header and...
asked by 17.10.2018 / 22:34
1
answer

my question is about the error: Uncaught ReferenceError: createSlider is not defined

I'm making a flappy bird style game, but I'm having a problem with Slider, I think it's something with a library or the way I declare the variable or createSlider, but I tried to change and nothing solves the design is not original my it comes f...
asked by 25.10.2018 / 16:55
0
answers

Default option in select does not appear

I have a select that I want to show a label as the default option, but it is appearing blank. My select: <div class="select"> <select (change)="calculaMes(mesEscolhido)" [(ngModel)]="mesEscolhido" name="selectMesEscolhido"...
asked by 17.10.2018 / 19:20
1
answer

Vertical slider with list of images in jQuery

I have the following list of images and videos being pulled from the database. I'd like this "ul" to go up the items infinitely in a vertical slider. I do not know much about jQuery, does anyone have any idea how to do this? The effect would loo...
asked by 19.10.2018 / 15:26
1
answer

How to put an if within append Javascript

I made a javascript to mount a card and fill with information from a json, I need to check if there is an image in the indexes of the json array so that if I do not have it I can set a default image, but I can not use if inside apprend to do thi...
asked by 19.10.2018 / 15:28