I have the following function: if the entered data is NaN, it gives focus to the field and changes the border
function validaNumero(){
dado = document.getElementById("new_partner");
var formulario = document.getElementById("new_partner...
Good afternoon! Home
I am having a question regarding the manipulation of div's values ...
When dragging an image of the div fundo1 (blue) or fundo2 (yellow) to div conteudo , I would like the values present within the% div...
I have an empty textbox, and I have some buttons with values like:
+ , - , * , / , palavra1 , palavra2
so on.
I want to fill this textbox by dragging these buttons into it, not just clicking on them,...
Please see this demo link: link
I'm trying to center the "X" inside the red button.
Code:
<button id="del_photo" type="button" style="width:20px;height:20px" class="btn btn-danger btn-sm" title="Excluir">
<span class="glyp...
I'm doing a project where I should apply a mask (PNG or SVG) over an image .
I'm using
.svg-clipped {
mask-image: url("../img/desktop_tds_hist.png") ;
-webkit-mask-image: url("../img/desktop_tds_hist.png") ;
-webkit-mask-image:...
I'm putting together a page and its content contains HTML snippets of code.
I tried inserting snippets of code this way but it did not work:
/*
<!DOCTYPE html>
<html>
<body>
<p>Arrays :</p>
<pre>
<...
I have a small problem and I would like an aid to understand and if possible an indication of the Srs to help this problem.
Let's start, I currently have a loop, I'm doing it in a for something like the code below:
for(var i = 0; i < 150...