I have this following javascript class:
class Usuario {
constructor() {
this._nome = '';
this._idade = '';
}
get nome() {
return this._nome;
}
set nome( value ) {
this._nome = value;
}
get idade() {
return...
I have some difficulties in JQuery, using DataTables, where when clicking select a value in drop-list and clicking the "search" button, it does an ajax and updates the Datatables with the data selected in the drop list. p>
However, I'd like to...
I need to change an image by javaScript but I'm not getting it, I tried the following way and it did not work;
html
<img id="imagemPerfil" src="img/user1.png" alt="profile image" class="circle z-depth-2 responsive-img activator gradient...
Well, I finished a PHP course, I'm not an expert and I'm creating a course system. I need when the user starts watching the lesson, the system saves the video runtime every 3 seconds. And save this so that the next time he enters the site, he ca...
I need a reload in this script every 01 hour, but I do not know how to invoke it to start the countdown again.
<h1>Countdown Clock</h1>
<div id="clockdiv">
<div>
<span class="days"></span>
<div...
For each card registered, I redirect the user to his card viewing page and there ready all the cards he has already registered.
Each card has its nome , so for each card I create layout and enter nome . So far so good....
The following Ajax call would send to PHP the parameters corresponding to the form that called the function:
var foo = "bar";
var bar = "foo";
function register(){
$.ajax({
method: "post",
url: "meu_script.php",
data: $("#form")...
I have this function to check the state and CNPJ / CPF registration fields and if they are correct it performs submit , only in submit , it is not respecting the required of the fields entered in ViewModel
$('#FornecedorNovo...
I'm developing a project where an app should send an image (base64) to the server and do the recognition of the number entered.
I'm using MNIST data for training and Tensorflow.js on NodeJS, but I'm having difficulty pre-processing the image bef...