Questions tagged as 'html5'

2
answers

Validating Value

I need to validate a value before it is sent, how do I validate it before sending it, because it is already sending it directly without validating the sum of the input. <script type="text/javascript"> function soma() { if (form.s...
asked by 07.11.2017 / 23:44
3
answers

Effect of filling a line

I need to make an effect like this on this site link Wellwhereisitmarked?IwouldliketoknowhowthiseffectworksandifthereisanypluginforitFollowmytestcode: .chart { margin: 0 auto; position: relative; width: 70px;...
asked by 20.05.2015 / 19:07
2
answers

HTML5 - Final date less than the starting date

I have two fields: <input type="date" id="data_inicial" value="<?php echo date("Y-m-d"); ?>" disabled> <input type="date" id="data_final"> The first field, I have the initial date filled in and set to disabled. The second...
asked by 03.07.2017 / 22:54
2
answers

Input does not match col-md-8 size

I'm training in form creation, and I'm making bootstrap use on it, mostly from <div class="row"> and <div class="col-md-4"> . However, when I put only two elements on the same line, respectively e 'the input field...
asked by 06.08.2018 / 17:52
3
answers

How to do with CSS a checkerboard type chess board for the Body?

I would like to put in the% w / o% a checkered background, type a chessboard covering the whole body. I've tried <body> , but I could not ... html, body { width: 100%; height: 100%; margin: 0; padding: 0;...
asked by 03.08.2018 / 20:43
2
answers

Can you declare a JavaScript variable so that it always has 2 decimal places?

The idea is not to have to convert the result to two decimal places at all times. Example: var preco = 10.00 To show these decimal places, I have to put it like this: $("#preco").html("R$ " + preco.toFixed(2)); And then if I do any cal...
asked by 07.11.2018 / 22:34
4
answers

CSS - How to manipulate Div's?

I'm studying div's and I'm having difficulty aligning the div's in the way I need it, as in the following image: However,itlookslikethis: #total { background-color: red; width: 300px; height: 400px; } #pequeno { back...
asked by 03.10.2017 / 16:11
2
answers

Knowing when you hear changes in DIV with Javascript

Hello, good morning. I need to compare a change in the DIV1 daughters so I can make a notification. This way I did may not be the best, I'm still learning. <div class="div1"> <div class="filha"> <...
asked by 16.04.2018 / 14:49
1
answer

Line break within a Boostrap Popover

How to make line breaks within a bootstrap popover Example echo"<a href=\"#\" data-toggle='popover' data-title='Popover on Left' data-content='$data <br> $data' data-placement='left'> <span class=\"label label-success\">...
asked by 09.02.2017 / 02:50
1
answer

Lock scroll scrolling across screens

How do you block the scrolling of the page by the keys with jquery, up key (38) and down key (40), leaving the scrolling only with the mouse?     
asked by 26.07.2016 / 16:16