Questions tagged as 'javascript'

1
answer

Create a select that depends on another

I have the following functional code: //DEFINIENDO VARIABLES GLOBALES br = "<br>"; olli = "<ol><li>"; liol = "</li></ol>"; olc = "</li></ol>"; ulli = "<ul><li>"; liul = "</li...
asked by 15.04.2018 / 23:17
0
answers

Content of a Function within a Modal

Comrades, I have a code that goes something like this: JAVASCRIPT function nfpa(){ var resultado = ""; resultado += "<div>"; resultado += "CONTENIDO"; resultado += "</div>"; document.getElementById('...
asked by 12.04.2018 / 23:05
0
answers

How to sort tables with arrows in javascript / jquery

How can I order a list of items (each column has an arrow up and down) of a table through arrows that are not images but font awesome, it turns out that I in this site web , I built something based on images that are svg that do not appear I do...
asked by 07.04.2018 / 14:30
0
answers

Colors in the Bar Chart of Chart.js

I am graphing the percentage of compliance of the plans of the areas for which my company is distributed, 2 different lists are filled in and I send the data by ajax where I receive the lists of the hundreds and the of the colors and it shows me...
asked by 09.04.2018 / 15:42
1
answer

highChart dynamic graphics, irregular time intervals

I use a function in java script, which uses a static method to query the server, obtaining as a response a DataSet with several tables sereializado as object JSON (string json = JsonConvert.SerializeObject(_dsCon);) and...
asked by 09.04.2018 / 14:30
1
answer

Clean form fields after sent with Vue2 and Axios

I have a form that sends, in Vue.js , by axios without any problem the data, and I wish that after successfully sent, the content of the fields is deleted. I have tried with .reset() but without success, and for some reason I...
asked by 28.03.2018 / 19:05
1
answer

C # Razor - error when saving a form with radio button

I have a problem saving a form by a radio button, it always saves the value zero and must be on demand according to what the user selects: <div class="form-group"> <label for="BONUS" class="col-md-2 control-label">Bono:</lab...
asked by 29.03.2018 / 03:45
0
answers

Create functions to create a window and close it if desired

The issue is that, in the Javascript programming book from where I am studying, an example of a program that creates a window with the parameters that the user has chosen, and closes it if the user wants it. When I take the code in my code edito...
asked by 01.04.2018 / 21:50
1
answer

Format fields with Laravel-Excel

The following code allows you to export a .CSV file using the maatwebsite / laravel-excel library from Laravel 5.2 . Excel::create('Filtro Productos Concentrado', function($excel) use($ini, $fin, $gr) { $granjas = Granja::all();...
asked by 09.04.2018 / 19:46
0
answers

problem loading an HTML template with "fs" nodejs, inside an ES6 class

SOLVED: The problem was that webpack changes the default behavior of __dirname and you have to configure it so that the routes work for me. I added this: context: __dirname, node:{ __dirname: true //The "dirname" of the input...
asked by 10.04.2018 / 13:58