Good evening!
I do not know if it is possible to implement the following situation: I have a html page that is a monitor (has the last number called), on the second page html, the user can click to request the next number. I can even exchange...
I am creating an array in JSON, and would like to know how to create another array inside the object.
var objeto;
objeto = {
"item" : [
{
"id" : delDiv,
"nome" : nomeItem.value,
"cod" : codItem.value
}...
Good morning, guys ...
How can I execute a servlet by opening it in a popup and passing 1 parameter?
My code looks like this:
- In the page that calls
<form name="frmcadentidade" method="get" action="DetalheEntidade">
<input typ...
I would like to know if there is any way to change the format of the datepicker dynamically using radio buttons, but the way I'm trying is not working ...
HTML
<input id="periodo" name="periodo" type="text" placeholder="Período">
<...
I'm doing a chat using PHP, JavaScript, Ajax and HTML. I know this is not the best option, but I chose to create a log.html html file that stores all messages and is uploaded by my index.php PHP file. All messages are sent to the l...
As I do not have much knowledge of javascript I need a help in this my problem here ... In this form and precise that when choosing an item in the dropdown it fills the field next to the value contained in its value
<script src="https:/...
I know that it has masks in jquery, such as jQuery Masked Input, however I am doing maintenance on a system that was developed by another colleague and unfortunately is giving conflicts in the jquery that he implemented:
<script src="assets...
I want to add the two paragraphs with JavaScript (tag or class), but the result is always NaN .
function calcular() {
const num1 = document.getElementsByClassName("n1").value;
const num2 = document.getElementsByClassName("n...
I am trying to check if a textarea has valid text. Checking the space was easy, but enter do not know how to verify.
enviar() {
var num = 13; // 13 é o cód ascii do enter
if (this.textoEmEdicao == '' || this.textoEmEdicao...
I will try to be practical. For example, I have the following objects:
let a = {
'before': 'small',
'after': 'large',
'type': 'size'
}
let b = [
{
'before': 'small',
'after': 'large',
'type': 'size'
},
{
'before':...