Questions tagged as 'javascript'

2
answers

Onsubmit with JavaScript and PHP

I'm learning a bit with JavaScript and PHP. The case is that I have a form ( form ). Once filled in you have two processes. One is PHP, which collects the $POST of the html with if(isset($_POST['submit'])) and processes...
asked by 13.07.2018 / 08:00
1
answer

compare if one value is less than another in a jquery table

Good morning, I need help to do the following: I need to compare if a value of one column is less or greater than another column within a table. I have advanced the following code: $('.a').on('click',function(){ var trPrinci...
asked by 24.07.2016 / 21:46
2
answers

button edit does not work in javascript form

I have a form, which does not work the edit button, this instead of doing the edition of the record, add a row to the table, I have printed it by console and it is undefined, this is in the Save function () of the JS, this always goes by the els...
asked by 26.07.2016 / 19:38
1
answer

callback setTimeout

I'm doing a practice with callback functions what I want is that for every loop that the loop has a waiting time of 2 seconds I have an array with letters what I try to do is print the letters of it every 2 seconds . I am trying to do with th...
asked by 27.07.2018 / 00:26
1
answer

Error showing div with jQuery

I started using bootstrap and I realized that JQuery is used, and I started to program a bit with this library the subject in question, it does not work a validation that reigates. <form method="post" id="ingresar" > <in...
asked by 28.07.2018 / 17:54
2
answers

How to use a variable as an array?

I have the following code that randomly generates an alphanumeric string: var currentGameID = Math.random().toString(36).slice(2); Then, in the following code, take the names of the players from the text boxes and store them in a new object...
asked by 02.07.2018 / 22:48
1
answer

Infinite loop and problem with v-show in Vue.js

I'm doing a project in vue.js and I have two situations. The first is that I am generating a list (which is repeated twice) using a v-for , which works correctly, but in the console I get the following error:    [Vue warn]: You may ha...
asked by 30.07.2018 / 15:37
1
answer

Because it does not rescue me the values of the datatable

I want to get the Codigo of a row in a table. And this value can be displayed in a Modal My Controller $data['personals'] = $this->m->getAllPersonal(); $this->load->view('list-personal',$data); my table &l...
asked by 05.07.2018 / 15:21
1
answer

Current day Bootstrap Year Calendar

How could you make me red in the current day in Bootstrap Year Calendar? On the official website in the examples I found something similar but I can not make it work, I leave the link: Example I just want you to mark the current day,...
asked by 04.07.2018 / 11:42
1
answer

Does not recognize when changing javascript variable to php using ajax

I am here in this opportunity to pose a small problem that I have been turning a long time ago. It turns out that I'm developing a small, private chat, 1 to 1. The interface is simple and has a select and option to change user. Use websock...
asked by 21.06.2018 / 01:33