Questions tagged as 'jquery'

1
answer

Problems with nextElementSibling when calculating a total - Jquery

I am trying to make a multiplication between quantity and price, to get your total, however I get the following error when doing it: TypeError: $(...).nextElementSibling is not a function , I do not know in what way I could modify it in su...
asked by 16.08.2018 / 16:13
1
answer

By clicking on the button the span disappears

I have a problem, I have a word that when you load the page each letter has a different color use <style> #word span:nth-child(9n + 1) { color:#ff2222; } #word span:nth-child(9n + 2) { color:#22aa22; } #word span:nth-child(9n + 3)...
asked by 05.08.2018 / 22:58
1
answer

Add row to a table with data from a modal

if you can help me with this question of how to pass the data filled from a form that is in a modal to a new row in a table. And let it accumulate every time you open the modal to fill out the form, and the option to delete the row. This is m...
asked by 07.08.2018 / 22:26
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
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

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
1
answer

How to deploy a nav-bar dropdown bootstrap 4

Hi, I wanted to know how I can leave this dropdown menu open, which is done in bootrstrap 4. .categoria-prod #collapsingNavbar .dropdown .dropdown-menu{ position: absolute; transform: translate3d(0px, 41px, 0px); top: -43px!impo...
asked by 14.06.2018 / 19:31
1
answer

move_uploaded_file does not upload the selected files [closed]

Good morning classmates, I have problems when uploading files, I'm doing tests in local, the data is sent to the bbdd, I generate the destination path, but at the time of executing the function move_uploaded_file does not upload them, and does n...
asked by 06.07.2018 / 15:47