Questions tagged as 'javascript'

2
answers

Append to object to another object?

I am trying to make a type of append inside an object, but I would not be knowing what method to use to achieve it. For what I'm looking for, they recommend using an array, but I honestly do not feel like using that method. (When I use db I do n...
asked by 13.09.2018 / 23:23
2
answers

How to implement Datatables + Vue.js properly

my problem is that when integrating datatables.net to my VUE component, I get the following: (image below), but at the time of using the search remains blank my code in the "< template >" part and my javascript is the following...
asked by 03.10.2018 / 17:29
2
answers

Update a record in a Mysql table from a POST variable?

I am trying to update a record in a MySQL table, by means of a script called " prueba_envio_1.php " which selects the value of the first row of the table with heading waiting when you press the call next button, when you get this information...
asked by 03.10.2018 / 17:41
0
answers

By clicking I send several records to the BD

Good day, I have infinite scroll to bring the answers from the database and in each answer I have a button, but as I scroll to get more answers, there are some answers that by clicking on the button I saved two records and when you reach the las...
asked by 12.09.2018 / 20:33
1
answer

Get value of option selected in a child element (jquery / javascript)

I have the following scenario: a series of SELECT elements in a series of DIV with the same class. <div class="elementLine"> persona 1 <select id="coches"> <option value='si' selected>si</option> <option...
asked by 12.09.2018 / 14:59
1
answer

Validate form fields in django verifying their existence in the database

How to validate fields of a form in django by consulting its existence in the database (eg: the ID of a record)     
asked by 12.09.2018 / 15:08
1
answer

How to look up various data in an angularjs property by means of Checkbox?

I have two checkboxes, if one is selected, he brings me the men and if I select the other he brings me the women, but I want an option where I can select the two and bring me both. I want to do that with other fields. <body> <div...
asked by 04.10.2018 / 21:47
2
answers

Window generation in JS

I have the following code js when I execute the function "write ()" with a button event, I get the following error "Can not read property 'closed' of undefined" in the if of the function, can you help me? var nuevaventana; function crearnueva...
asked by 05.10.2018 / 03:28
2
answers

Does not return the AJAX response

Good I have a registration form in which they fill in the data and through AJAX I insert the data in the database. Until then it worked perfectly and I returned a response in notification mode with TOAST. But when putting in the file that als...
asked by 04.10.2018 / 07:00
1
answer

up to 10 integers before the decimal point with regular expression

As I can make a regular expression that accepts up to 10 integers a point and up to 10 decimal places, I have the following regular expression, but it does not work it only works with decimals /^([0-9]{0,10})+\.?[0-9]{0,10})$/     
asked by 04.10.2018 / 22:56