I am trying to assign a cookie in a GET request, in an order XMLHttpRequest .
My code is as follows:
var pedido = new XMLHttpRequest()
pedido.open("GET","https://www.google.com/complete/search")
pedido.setRequestHeader("Cookie","SSI...
I have several% tag img in my html, and the src is an external route to my server, every time I reload the page I must wait for the images to load, I know that the LocalStorage exists but I do not know how to save the image as such...
I'm making a player where several music sounds and I want every x minutes, apart from the player, to play a single music without touching any button, only when entering the page, and in those x minutes the music sounds , right now...
You see I have a multidimensional array and I need to remove a field from that array but I can not get it.
I must clarify that I am using firestore firestore.
That's my code:
db.collection("database").doc("users").get().then(data => {...
I currently have this code to show a graphic and I want to change the color of the border.
How can I do it?
<canvas id="chart" width="200px" height="200px"></canvas>
<script type="text/javascript">
$(document).ready(funct...
I am creating a webproxy with nodejs to be able to access "anonymously" to another site, so this is my server:
const http = require("http");
const url = require("url");
const request = require("request");
const fs = require('fs')
var server =...
I have my script like this:
var imagenes={"leon":'<img src="imagenes/leon.gif" width="200" height="200"/>',"burro":'<img src="imagenes/burro.gif"/>',
"ballena":'<img src="imagenes/ballena.gif"/>',"gato":'<img...
Hello, I have the following range
var $sliders = $("input.slider");
$.each($sliders, function(i, elemento){
tooltip: 'always';
console.log(elemento.id);
var slider = new Slider('#'+elemento.id, {
formatter:...
This is the only thing I need to finish my project, I need to know how I could remove a phrase that the user enters by keyboard, this by means of a function activated by a button.
I know that a picture is worth a thousand words, so I'll leave...