Good afternoon, I have a problem .. I'm just starting to see html and I'm following a little pdf. The problem is that I put two buttons, one to change the color and another to change the size. The first button works but the second does not....
Good afternoon, I want to put a code that deactivates an input when I have another asset. At the moment I have this and it works perfectly:
<div class="col-sm-5 col-sm-offset-1">
<div class="form-group label-floating">
<inp...
I need that when I click on the a tag the radio will check. I did a function to do it and it does it well, the problem is that if I want to check another one that I had already checked, it does not do it anymore. I need the tags in that o...
The problem that arises for sure is very simple, what I present in the code is something done with Firebase that returns all the data of my DB and places them in a table.
At the end in "Total" I assigned the first "amount...
my function is:
function filter_list(arrays) {
return arrays.filter(function(current){
if(typeof current==="number"){
return current;
}
});
}
console.log(filter_list([1,2,'a','b']));
I wanted to convert it like that
fun...
I have to perform a functionality to a carousel plugin.
How do I write an if that detects if a div has the style "transform" less than "translate3d (-650px, 0, 0)". Maybe it's with javascript or jquery.
<div class="owl-stage" style="transfo...
I have a question about the blocking of a text box, what happens is that when loading the page, the text box is blocked, but when I save information and reload the page you can edit the information of the box that should be blocked As I handle h...
I need to send an array using an ajax call.
$.ajax({
type: "GET",
crossDomain: true,
dataType: "json",
url: "http://localhost:24234/api/SendPushNotification",
success: {
Function(result) {
Console.log(re...
Suppose we have the following function in javascript:
var modal=$("div[class*=div_modal]");
//Accedo al primer elemento del array
var modal2 = modal[0];
//quiero obtener el primer div
modal2.children('div').eq(0);
console.log(modal2);
But I...
This should be something simple but I am learning from this ... The issue is that it executes the whole function when reloading the page and not when clicking on the button
document.getElementById("btn1").addEventListener("click", alert(...