Questions tagged as 'javascript'

1
answer

Error refererirme to the value of an element in jquery

I am modifying a tab of bootstrap to have marked the one that I need when loading the page and I am not able to do it dynamically. On the one hand I use this function (taken from this website) function activaTab(tab){ $('....
asked by 03.02.2016 / 01:36
1
answer

SPA using requirejs and jquery

Good community, I am trying to migrate a project using the require.js library to perform asynchronous modules, but I have encountered problems that I do not know how to solve. Trying to use variables to save templates such as Index_Ctrl.js...
asked by 05.02.2016 / 23:06
0
answers

I need an input range in a [closed] curve

I need to find a way to make an input range (a slider) in a curve. The curve does not have to move but the ball has to slide through it following its trajectory (how the drawing shows). It also has to work for mobile (Android and iPhone...
asked by 11.12.2018 / 09:10
0
answers

Convert parameters of a javascript array

I need a function that changes the parameters that accept an array, it accepts 'abbreviation' and 'description' has to read 'optionStringValue' and 'optionStringText' I have a Select2 that should load me every month of the year but it does no...
asked by 11.12.2018 / 15:57
1
answer

JavaScript Agenda

I have problems to do what they are asking me, in terms of creating an agenda, they ask me to create a page where there is a send button that will make the first data that it receives become the username and password to access to the next part o...
asked by 16.12.2018 / 18:31
2
answers

Ajax in express JavaScript server

Good morning, I have a server in javascript express with which I deploy a websocket server. Now I need to receive a signal by websocket send me this data to a PHP, I researched and the best option is to send it by ajax but to include that lin...
asked by 15.12.2018 / 16:34
0
answers

Drag and Drop with Localstorage

I'm trying to make an html with a drag and drop. On the one hand I have in a div a series of divs with names of foods, and on the other hand some divs that act as containers for the drag and drop. <!-- Elementos arrastrables --> <div&...
asked by 15.12.2018 / 14:15
0
answers

How to change the status field of a foreigner every 3 months and send an alert [closed]

I have no idea how to do this. I have a view with two tables, where one shows me the status of a team and the other the maintenance that is done to them, what I want to do is change the status of "pending" made when maintenance is done and every...
asked by 05.12.2018 / 13:33
0
answers

Using JSON of FUSIONTABLES as input of Chart.js

I'm trying to work with the fusiontable responses to build a chart.js. How can I use the JSON to create it if I have this JSON as an answer? { "kind": "fusiontables#sqlresponse", "columns": ["KILOS", "REMISION"], "rows": [...
asked by 05.12.2018 / 20:41
2
answers

change the value of inputs simultaneously when modifying one of them

In the following code I want that when modifying any of the 2 inputs change the other one with its respective operation but taking the variable from the one that has just been edited. function calcular() { var valor1= parseFl...
asked by 05.12.2018 / 18:53