Questions tagged as 'javascript'

0
answers

I need to increase an array by 1 in Javascript

I have a problem, they have made me repeat a code twice and twice because I do not understand the exercise well, I need to increase an array by +1 and that array does not exceed 9. I would like you to see my code and tell me if I did it right or...
asked by 06.03.2018 / 21:51
3
answers

Incorrect date format when using DatePicker

I have a DateTime field with its BootstrapDatePicker like the following: <div class='input-group date' id='datetimepicker1'> @Html.TextBoxFor(m => m.DatePicker, new { @class = "form-control" }) @Html.ValidationMessageF...
asked by 07.03.2018 / 01:01
0
answers

Send 1/0 instead of true / false in a checkbox within a grid (editor)

I have this code: { xtype: 'checkcolumn', header: 'Contacto de Emergencia', dataIndex: 'contactoEmergencia', listeners: { beforecheckchange: function() { return false; } }, width: 60, editor...
asked by 03.03.2018 / 21:31
0
answers

Is it possible to connect to a Bluetooh device using Electron?

I'm trying to work with Bluetooth from an app created with electron, I try to access the navigator.bluetooth object, but it does not exist. console.log(navigator.bluetooth); //=> undefined    Operating System: Linux Ubuntu 17.10      Ele...
asked by 03.03.2018 / 23:49
0
answers

Create a form by attaching a file

I developed them, it's a form to apply for a job and I want them to attach their cv and send it to a corporate email but it bounces me off. These are my codes First is the JS, then the php and the last one is the html When uploading them to t...
asked by 03.03.2018 / 21:25
0
answers

Images in Progressuve Web apps vue

I'm doing a PWA in Vuejs and I take it from a SPA I did before, but it's already built, it does not show the images. The images I showed with this code, what it does is take the ID of an API of some characters. <p><router-link :to=...
asked by 02.03.2018 / 22:18
2
answers

Add the value of an input number and the value of N number of checkboxes, javascript

I want to add the values of a input with name monto_pagar and the value of multiple checkboxes (the generated checkbox number goes from 1 to N) and display them in input with name total_id . My problem occurs...
asked by 03.03.2018 / 04:03
0
answers

enter data by keyboard and calculate the cousins, and print on the screen the numbers of the number entered in javascript

var arreglo=[]; var num=document.getElementById('num').value; if(num == ""){ alert('Campo Vacio'); }else{ document.writeln("Los primos de " +num+ " son: "); for(i=1;i<num;i++){ for(j=1;j<=i;j+...
asked by 02.03.2018 / 21:16
2
answers

deactivate Sundays in the input date html?

I need to deactivate the Sundays of the input date, that is, the user can not choose Sundays, it would be better for me to block those days, that is, I do not want you to tell me you chose an invalid day, but it does not show the Sunday similar...
asked by 06.07.2017 / 18:00
0
answers

Store input values in a javascript array

I am creating a matrix with dynamic input values. The program asks you for the order and the set of vectors. From that, it generates a bidimensional arrangement (with the values that you entered in the inputs, of course). For example, if I want...
asked by 02.03.2018 / 17:57