Questions tagged as 'javascript'

1
answer

Problems javascript html5 [closed]

I am trying to call an input inside the DOM tree but I can not call it by the "active" class, however when I use task-wrapper the alert appears perfectly. How do I solve it? $(".active > .hideinfo > .wrapper-ca...
asked by 10.04.2017 / 09:12
1
answer

rails does not return data to filters.js.erb with ajax

This alert should not be executed after executing the filters method: def filtros @apps= App.where(rol: params[:rol]) .or(App.where(plataforma:params[:plataforma]) .or(App.where(area: params[:area]))) respond_to do |for...
asked by 28.03.2017 / 23:06
1
answer

Confirm dialog jquery ui with ajax method

I want to use a dialog confirm of jquery ui that is added by pressing a "save" button, that if "yes" is pressed then that a $ .ajax method is executed that saves the information in the bd. This is what I have: $('#btnGuardaInforme').on('click'...
asked by 04.04.2017 / 15:34
1
answer

Woocommerce: disable address fields when selecting a state / city

I'm trying to hide the address fields when you select an option in states that is not "Lima and Callao". This is what I have tried so far. jQuery: if($("#billing_state option:selected").val() != "Lima y Callao"){ $('#billing_address_1_fiel...
asked by 03.04.2017 / 22:28
1
answer

problem when sending an array by onclick method, shows undefined

Good morning everyone, I have a problem sending an array by an "onclick" method when wanting to show the array sent I get "undefined" onclick code: firebase.database().ref("/4/").on("value", (dataSnapshot) => { dataSnapshot.fo...
asked by 04.05.2017 / 13:31
0
answers

How to modify the value or link of a .href attribute from vba excel?

In my company we started using Altiris from Symantec At this moment I am in charge of the massive load of hardware inventories. I upload the information using Excel - VBA. The data loading formulations are in HTML and JavaScripts format In a...
asked by 03.05.2017 / 18:48
3
answers

Graphics with Chart.js

I have a small problem with the graphics, what happens is the following, I have a list where the list in each element has a button that shows in a few tabs more information about each element, whenever you click on the button is loaded in a tab...
asked by 04.05.2017 / 19:35
1
answer

I can not display my mongodb data with mongoose in node.js

//myapp/routes/index.js //declaramos las dependencias var express = require('express'); var bodyParser = require('body-parser'); var mongoose = require('mongoose'), Schema =mongoose.Schema; var router = express.Router(); mongoose.co...
asked by 31.03.2017 / 15:21
2
answers

add dynamic combos from a button

Hello good afternoon, sorry, I have a question, I want to add a button that when I clicked, add me N dynamic selects This is the html that I have: <h3>Origen: </h3> <input type="hidden" name=""> <div clas...
asked by 14.03.2017 / 19:19
0
answers

Multicolumn collapsive table [closed]

Good morning you know how to make a multicolumn collapsive table like this ?, or some plugin that does that job: A company has several departments, then the company row has to be collapsive, now the departments have several areas, so the depa...
asked by 27.03.2017 / 17:18