Questions tagged as 'javascript'

0
answers

Ckeditor starts twice when opening modal

I have a JS function to open a modal, Code: $(document).ready(function() { $('#eventosanalisis').on('click', '#editar_evento', function(e) { e.preventDefault(); editor = CKEDITOR.replace( 'editor1', { }); var filaactual = $(thi...
asked by 05.10.2018 / 21:15
1
answer

Load modal data to text fields

I would like you to help me with a problem I have: In a modal I have a table with the data of some materials In a column I have the insert button, When you click on such a button, you must hide the modal and insert "Code and Materia...
asked by 13.10.2018 / 12:34
0
answers

Error in reaction ecommerce

I'm trying to start a reaction and it gives me the following error FATAL ERROR: CALL_AND_RETRY_LAST allocation failed - Javascript heap out of memory. For the installation I am strictly following this guide link but when I give it to...
asked by 13.10.2018 / 08:26
1
answer

how can I make the collapse target for a single table?

in advance thank you for your time, I have a problem with a table in which I use collapse, when I click on a row I display the information, but when I click on another, the last row that is moved does not return to its place. This is my PHP code...
asked by 13.10.2018 / 15:35
1
answer

Calculating the total of the products with Javascript

I am trying to add products to a shopping table, which works well, the problem comes when calculating, between the quantity of the product and the price, however, when changing the quantity, this is not the calculates, I had a certain inconvenie...
asked by 13.10.2018 / 06:50
1
answer

Fill a PHP select Laravel

I have this select function that what it does is select the customer table and select them by country, in which if you bring the data this in the Client's driver. public function select(){ $data = DB::select('select * from clientes where...
asked by 24.10.2018 / 23:08
1
answer

Console Error "Uncaught TypeError: Can not read property 'getAttribute' of null" [duplicate]

Some way to fix the Error in the console on Google "Uncaught TypeError: Can not read property 'getAttribute' of null at HTMLDocument.init" HTML: const TypeWriter = function(txtElemente, words, wait = 2000) { this.txtElemente = txt...
asked by 08.10.2018 / 07:24
1
answer

Questions in accordion

Hello, good morning I have a question class in an accordion with the data brought in an ajax and I would like you to say if I answer question 1 by clicking on the button the background of that question will be colored I have an onclick this is t...
asked by 08.10.2018 / 13:01
2
answers

Run one function after another with setInterval ()

var div500 = document.querySelector("#sec120"); var div501 = document.querySelector("#sec121"); var div502 = document.querySelector("#sec122"); function op100() { if (div500.style.display == "block"...
asked by 05.10.2018 / 14:32
1
answer

Pass a javascript variable to php without input [duplicate]

Hello everyone, please, if someone can help me, I need to pass a javascript variable to php .. I have this function <script type="text/javascript"> function operacion(field) { var form = field.parentNode; var numero...
asked by 05.10.2018 / 14:09