Questions tagged as 'html5'

4
answers

How do I force numeric keypad display on my smartphone when I click on an input?

I have a field in my form with type="text" and it has masks for the zip code. When I access the cell phone and click on the field I need to press the number keypad. Can anyone tell me if you have any possibility of opening the automatic n...
asked by 25.06.2018 / 20:19
2
answers

How to show next field when user clicks green button

I have several fields that are hidden and should only appear when the user clicks the view button next to the first field. My initial idea would be when the person clicks the green button (after the .newField) it adds the newField class to th...
asked by 04.07.2018 / 15:00
1
answer

Get date formatted in HTML5

I have the following scenario. A form with two date fields AndwhenIclickSearch,thedataisinthisformat HowcanIgetthedateintheformat"yyyy-mm-dd" or "dd-mm-yyyy"? Without this additional data (Thu Oct, 00:00:00 GMT-0300), does anyone know? Follo...
asked by 16.01.2018 / 20:10
2
answers

Date range

I am using the HTML date type 5, for the user to provide a date. <input type="date" name="data-inicial"> <input type="date" name="data-final"> There are two fields: Start date and End date, but the end date must be at most 29 da...
asked by 23.07.2018 / 18:26
1
answer

css glow effect with CSS [closed]

On this site link there is a very interesting glow effect; I do not know if it will be done with CSS Can anyone give me some tips on how to do that? Thankful     
asked by 23.07.2018 / 01:55
2
answers

How to use cookies in javascript

I create cookies in JavaScript, but I do not know how to apply them to some project. Could anyone post an example of how to use cookies?     
asked by 06.01.2018 / 19:24
1
answer

Resize for elements and not browser window

Help me with a quick question. The jquery resize identifies when the browser window changes and triggers an event. So good. But is there any way for me to know when an element changes? When to resize it? In this case, resize does not he...
asked by 12.01.2018 / 20:50
2
answers

Appear button after filling two fields

I have 2 date fields and I will use those dates in a select and I would like a "browse" button to appear only when the two fields are filled in, it follows the current code: <form method="post" action=""> Início do períod...
asked by 12.12.2017 / 17:46
1
answer

Can not bind to 'ngModel' since it is not a known property of 'input'

I am with [(ngModel)]="cliente.nome" this code is generating the error of: Can't bind to 'ngModel' since it isn't a known property of 'input'. ("="col-md-4 control-label" for="idNome">Nome: </label> And I already put the For...
asked by 02.12.2017 / 22:44
1
answer

Angular ng-pattern - 1 or 2 numbers

In the code below, I need to get the ng-pattern to receive 1 or 2 numbers, the format being in minutes, that is, minimum 0 or 00 and maximum 59. <input type="text" step="any" value="" ng-model="job.ValorIntervalo" min="0" max="60" ng-pa...
asked by 03.04.2018 / 14:54