I'm having trouble validating fields in a PivotTable using the jquery.validate () plugin where input are sequential.
JS
$("#addLinha").on("click", function () {
// ADD QTD DE LINHAS INFORMADAS NO INPUP
var n_prod = $("#n_p...
I'm using a function to get the server load:
function get_server_cpu_usage(){
$load = sys_getloadavg();
return $load[1];
}
I call it with:
<div id="load"><?= get_server_cpu_usage(); ?></div>
I need to implemen...
I have the following code JS :
var botao = document.querySelector('input[type="submit"]');
botao.addEventListener('click', function(e) {
let form = document.querySelector('form');
let ipt = {
nome: form...
I have a login page that calls a page to confirm the registration, in case the person has to open the email, get the code received and go to the confirmation page. The problem is that it takes a significant amount of time to call the screen to c...
I have this line which is a part of the code I am using to send the data through the URL:
<a href="curso.html?id=' + item.id +'&descriacao=' + item.descricao + '"
class="a-item">'+ item.nome +'</a></div>
It's happ...
To with this code here:
function aparecer(){
const array1 = [1,2,3,4,5,6,8,9,10];
for (let i=0; i < array1.length;i++){
const lugar = document.getElementById('local');
const ul = document.createElement('UL');...
I'm studying a bit of Ajax and testing your requests. My question is because of the return, it is coming back undefined.
This is the function:
function recarregar()
{
var jsonData = $.ajax({
url: "http://xxxxxxx/o/Ano/1235",...
I am using the bootbox in my application and would like to know how to do to change the default alert name that is OK, below my script:
@section Scripts{
<script src="~/Scripts/bootbox.min.js"></script>
<script>
$...
Hello,
Within a form I have 4 combos
<select name="combo1" ><option value="combo1">Combo 1</option> </select>
<select name="combo2" ><option value="combo2">Combo 2</option> </select>
<select n...
I watched this video (link below) and would like to build an element that only appears when the scroll reaches the "touch point". I believe it should be javascript. If anyone knew I would be very grateful: D I tried to link the files and add the...