Questions tagged as 'jquery'

0
answers

Problem with enter key and materialize autocomplete

By using the enter key, the materialize autocomplete object refreshes the whole page. function insertar(response) { var ingredientes={}; for (var i = 0; i < response.ingredientes.length; i++) { var tmp=response.ingred...
asked by 06.12.2018 / 02:01
0
answers

Error 419 (unknown status) in POST request with Ajax

According to what I have read, I have a security problem with the token. I try placing this: $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); In my header I find this: <!--...
asked by 02.12.2018 / 00:31
0
answers

Manage more than one file at a time

Hello, good morning, everyone I commented: I have to do an optimization of a gallery, in this case I have to manage 20 images dynamically, that is, the user decides how many photos he wants to upload, the fact is that I know how to upload one or...
asked by 03.12.2018 / 10:33
1
answer

Calculate Sum in real time with JS

Cordial Greeting. I hope you are well and can help me. I have 2 inputs and when you are typing, you change to a currency format: <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> &l...
asked by 29.11.2018 / 21:09
0
answers

OnKeyUp event in Js with setTimeOut

I would like to know if there is any way to do that some 5 seconds after I stop typing a certain code is executed, I currently use it in the keyUp event, but this is immediate. ex: I press the A key (I am waiting for 5 sec), but after 1 sec, I t...
asked by 07.12.2018 / 12:01
0
answers

change menu color with scroll spy

how to use scroll-spy to change the background classes of the nav, but without necessarily declaring that the change works because the menu does not have all the sections of the page. and especially how to make one of those changes by just going...
asked by 29.11.2018 / 12:22
0
answers

Arrangement of divs

I need to create a simple page, my problem is that I need an array array of divs with class .pagina but how should I declare it and go through to identify if it is the page that should be shown or otherwise hide. globa: let currentP...
asked by 29.11.2018 / 18:09
2
answers

Refresh table when an item is updated

I have this Ajax $(function() { //function ajax $('.processPreset').click(function(e) { e.preventDefault(); var checkedNames = ''; var $things = $('.case:checked'); if ($things.length > 0) {...
asked by 13.07.2017 / 16:44
1
answer

Is there a way to restart all the scripts on the page?

My problem is as follows. I have a div#resultado , which contains a table which is filled with data that I consume from a WebService. In this table there is a button for each row that activates a modal to modify the values of the row....
asked by 13.07.2017 / 15:28
0
answers

How to validate how many checkboxes were clicked and show error message?

I have the following problem to validate checkboxes. My template has 5 different manners for each of the products in my business. Within each modality the user must select the ice cream tastes that they want, but each product admits a mini...
asked by 27.11.2018 / 13:53