Recently my site was hacked, the attackers managed to upload a webshell to the site, however everything was controlled and the site is safe again.
Now eset nod32 I detected a trojan fakejquery , investigating a bit I could see that in t...
I am trying to make a coin format for my input, which I want to be formatted automatically with thousand separator (",") and decimals; try with several plugins but they do not work for me.
function addCommas(nStr) {
nStr += '';...
I am making a form to select the type of card at the time of payment and I want that when you select the image of the type of card it is marked with a shading around it.
my template is:
<form>
...
<div class='formulario-tarjeta...
I am seeing JavaScript and I came across this that I do not understand the Boolean objects and the Boolean primitives .
If I use a Boolean object to compare it in a if will it give me false ?
Or why the documentation of...
I've always seen that in JavaScript there is:
assignments =
comparisons == and ===
I think I understand that == does something similar to compare the value of the variable and the === also compa...
Question
How to validate an e-mail that accepts all Latin characters?
By Latin characters I mean accented letters, ñ , ç , and all those used by languages such as Spanish, Portuguese, Italian ... Latin.
Context
The goal...
I have a preload or progress that I show before being redirected to another page.
What I want is that while it is loading to open another page, the div of the progress is increasing up to 100%, as well as a numerical value (n / 100).
I cur...
Reading the MDN documentation where we talk about the primitive data Symbol for more that I read and reread I do not understand what would be a use case for that element more than to iterate Symbol.iterator .
The documentation sa...
I'm using the $ .each function of jQuery to run a JSON , and given some validation I want to show a alert() , leave the $.each and the function that contains it, I know that return false; leaves the function $.each...