Questions tagged as 'jquery'

2
answers

Give more time to show in ajax

I have this code and I want to give it a little more time when displaying the #result element. $(document).ready(function(){ $('.para_envio').submit(function(){ var x = confirm("Are you sure you want to update?"); if (x...
asked by 19.05.2017 / 05:47
2
answers

add input values and subtract them if necessary

Good morning, I have the following script which adds the real-time values of 5 input, they all have the class input_values_provisionals and shows them in a span of id total_provisionals The question is that if for example the sum goes to 20 a...
asked by 05.04.2018 / 21:28
5
answers

Show Hidden Element when checking a Checkbox

My question is: How would you make the "Delete Selected" button that is hidden with "display: none" when you check any of the Checkboxes; And when you uncheck them all, the button is hidden again. And if possible, show an Alert by asking "Are...
asked by 06.04.2018 / 17:11
1
answer

Catch value input radio or input checkbox

I have a database query that takes out several radios and checkbox and I want to take the value and save it in an array in jquery by clicking a button. Could it be done without taking the name? I have an question with several answers and each qu...
asked by 22.05.2017 / 09:52
1
answer

Problems with counter

I have the following counter: It is inside a table in which foods are selected through a checkbox; So, its function is to calculate the sum of the kcal of the foods that are selected. The problem is that it is used in several sections of...
asked by 01.07.2017 / 19:51
2
answers

Clear variables in url in the best way!

What other alternatives do I have besides headerremove to clean the url of my document when loading / reloading a page and get variables in special cases by get? I like the idea of sending variables by url in the backend and cleaning them in the...
asked by 07.12.2017 / 16:57
2
answers

keep selected HTML list item by clicking anywhere on the page

I am working with html and js, I have a series of icons as items in an HTML list that are part of a form, which if an icon is selected, the icon background changes to distinguish that icon is selected, and I get the name of the icon class in a t...
asked by 07.12.2017 / 23:14
2
answers

Help with clipboard.js and td cells / td

I have a dilemma with clipboard.js What happens is that I have a couple of cells which I would like to click on the field of the cell is copied to the clipboard. As a test, I did the following: <script src="https://cdn.rawgit.com/zenor...
asked by 20.12.2017 / 02:26
3
answers

Get the last deselected value of a multi select with JQuery

I have the following multiselect: <div class="input-field"> <select name="id_empresa[]" id="select_empresas" multiple required> <?php $ids = array_column($id_empresa, 'id_empresa');...
asked by 06.09.2018 / 05:39
3
answers

move form form to json

I need to pass this form structure to json : <form id="#" name="formulario" action="#" method="#"> <div class="panel-body"> <section class="container-fluid" style="word-break: break-all; word-wrap: break-word;" id="...
asked by 25.05.2017 / 16:54