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...
I need to make an effect like this on this site link
Wellwhereisitmarked?IwouldliketoknowhowthiseffectworksandifthereisanypluginforitFollowmytestcode:
.chart {
margin: 0 auto;
position: relative;
width: 70px;...
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...
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...
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;...
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...
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...
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">
<...
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\">...