I am creating a website where the use of javascript is a priority, so I would like to know how to detect if the browser is running javascript when visiting my site, and if not, address it or give it the option to activate it immediately.
This is my first project using JQuery that obtains data from an API and shows them
link
It works well in codepen, but when I uploaded it to github pages the requests to the API stopped working
link
If someone knows why the projec...
I want to convert the variable a to fix but error goes out, how do I solve it?
function minSum(arr) {
console.log(arr);
arr = Object.values(arr);
arr = arr.sort((a, b) => a - b);
var j = arr.length - 1;
var sum...
Good morning,
it turns out that the "click" events listen to both the selector that I'm dialing with $(document) and those that are above, even if they are not their children and are not called the same.
To see it, I put the code of th...
I currently work full scripts for example:
function comprobar(){
console.log('aqui el codigo');
}
exports.permitir = comprobar;
and I need to work with classes, something like this:
class Comprobador {
function comprobar() {
consol...
I'm trying to generate a dynamic array of type {}
tabla.each(function() {
var ID = $(this).find('td:eq(0)').html();
var fechaingre = $(this).find("input[id*='dfi']").val();
var fechafin = $(this).find("input[id*='dff']").val();...
I'm working on a random word generator, I've made a word appear every time I press a button:
<?php
$frases = array(
1 => "Una lavadora",
2 => "Un movil",
3 => "Una muñeca",
);
$numero = rand (1,3)...
Hello, I have the following function:
function comprobarCondicion(opcion) {
this.value = opcion;
if (opcion == '164.132.203.28:455') {
}
}
If I put it in index.html , it works for me and if I put it in my main .js it...
I have a ComboBox that loads the option from the database.
I need that when selecting any data, load the query, depending on the selected option, all this with AJAX.