Questions tagged as 'javascript'

1
answer

why am I wrong? is a converter of dollars to Peruvian soles Mexican and Chilean pesos

module.exports = function coinConvert(usDollars=50) { var arr = [peruvianSoles, mexicanPesos, chileanPesos]; var peruvianSoles = (usDollars.prompt(usDollars*3.25)); var mexicanPesos = (usDollars.prompt(usDollars*18)); var chileanPesos = (...
asked by 27.06.2018 / 18:47
0
answers

Problems with datatable when displaying data

function vistas_due_listasedes(Request $request) { $estable = $request->get('estable'); $anio = $request->get('anio_corte'); $mes = $request->get('mes_corte'); $sedes = HistoricoSede::select(...
asked by 27.06.2018 / 14:48
0
answers

Nodemon fails to start

I executed the following command: npm run dev The dev command is described in package.json as follows: "dev": "nodemon src/index.js", And I have the version of nodemon 1.17.5: "devDependencies": { .... "nodemon": "^1.17.5",...
asked by 27.06.2018 / 17:48
2
answers

Error Bootstrap Year Calendar

I am trying to use the Bootstrap Year Calendar, to create an annual calendar, doing it just like on your website. But when I initialize, I only appear the first 4 months, and in column, that is, only one month per row as in this image:...
asked by 28.06.2018 / 14:00
1
answer

Jquery undefined

I'm using VS 2013 to create a detail master view, for now when I click on the list with Jquery I should get the Id from the record, but I get undefined @model IEnumerable<MasterDetailsMVC4.Models.Orders> @{ ViewBag.Title = "Home Pag...
asked by 26.06.2018 / 00:47
2
answers

What does the error "Uncaught TypeError: Can not set / read property 'XXX' of undefined / null mean and how to fix it?

The following code fails: let obj1,obj2; obj2 = { atributo: 'texto' }; console.log(obj1.atributo); Showing the message in console:    Uncaught TypeError: Can not read property 'attribute' of undefined What does it...
asked by 30.05.2018 / 15:39
0
answers

Share link on facebook from Safari

I have a page made in Wordpress that has some links to share certain content on Twitter or Facebook. The problem is that the Twitter share button works well for me in all cases, but the Facebook one does not work in Safari (probe on Iphone and I...
asked by 28.06.2018 / 18:41
0
answers

Problem with passing modal data - javascript - PHP

I have this code for the modal in html, because when loading the modal I can not capture the information of the fields in javascript to be able to send them to PHP and enter the information to the table. I get error 404 in the browser. <but...
asked by 28.06.2018 / 18:34
0
answers

Angularjs and Firebase - do not show json data in ng-repeat

Let's see if someone can help me because I'm stuck at this point. What I'm doing is a test with firebase and its database (Cloud Firestore) + angularjs. This is the following code: // Initialize Firebase var config = { apiKey: "xxxxx...
asked by 28.06.2018 / 19:55
2
answers

Remove elements from an array

Good day, I'm trying to delete an index of an array of in input type file but in the different tests that I have done or delete the first or the last one even using splice . var arrayFiles = []; $("#fileUpload").on('chang...
asked by 25.06.2018 / 06:32