For the figure to change color every time it is generated again, it is suggested to create a "var color" arrangement with at least 5 colors. Then create a variable that allows you to generate a random number between 0 and the length of the array...
Hello good afternoon, I'm using the parallax.js library for my effects on the background images of my website. I have a problem when I want to change an image with a jquery event using attr ...
<div id="imageChange" class="backgrounds paral...
I'm making a table that creates an object, but I do not know how to remove it
<html>
<head>
<meta charset="utf-8"/>
<script type="text/javascript">
var i = 0;
function Añadir() {
i = i + 1;
var it = docum...
Good morning everyone,
I am new with JavaScript and I am trying to implement a modal of this page " link " and implement the CSS but the JavaScript is giving problems, try placing the JS internally and with a .js file but it gives me the same er...
I need to create a link inside the information window and click on it, so that it redirects me to a window (div) that would be displayed on the right, how can I do it?
function initMap() {
var map = new google.maps.Map(document.getElem...
I want to show in my teacher variable data in the value the teacher's id, and in between the tags Name and surname I let you capture my console and my code.
- > male teacher = '';
What's in my Console
My java script code
$(funct...
Good evening I am doing 2 requests ajax to 2 services which I managed to get the information in 2 functions as I do to unify the 2 functions since each one has a different data or how to save each of those functions in a variable thanks of befor...
Good morning, I have the following code
Angular
var aplicacion = angular.module('app',[])
aplicacion.factory('datosCompartidos', function (){
var datosCompartidos = {}
datosCompartidos.contador = 0
datosCompartidos.getContador = func...