Questions tagged as 'jquery'

1
answer

Real-time search saving server?

Hello, I created a script in jQuery that queries the database, based on what the person typed in a input field. With each key that the user types, the script makes a new request for my API and this is a problem, since I inte...
asked by 07.06.2017 / 00:15
1
answer

Selecting class with jquery

What's the difference in selecting the class of these two ways in JQUERY ? One has access to parameters, another does not, how does it work? var valor = $(".classe"); var valorAnime = 'classe'; Take a look at this code: (functio...
asked by 24.06.2017 / 16:21
1
answer

Uncaught Error TypeError: Can not read property 'addEventListener' of null [duplicate]

I am using a modal window script, but it is causing the error and error Uncaught TypeError: Cannot read property 'addEventListener' of null and error: at Array.forEach (native) Complete code: ( function( window ) { 'use str...
asked by 04.06.2017 / 16:55
1
answer

Problems uploading images with the dropzone library

I'm using the dropzone library, it's working the only problem is that the selected files do not reach the server, it always returns me Undefined index files , which could be ? The form looks like this: <h4 class="card-title">Escolh...
asked by 03.06.2017 / 23:49
1
answer

Laravel - Question about localStorage

I am developing a sales system for a college job, when I will make a sale the user selects the product that will sell and the quantity, these items will be displayed in an HTML table and will be stored in the localStorage I made by JQuery. My qu...
asked by 14.06.2017 / 02:33
2
answers

Pass input values to PHP

I have two inputs, one automatically populated by a PHP script, the other the user enters the value, and a third input to do the subtraction calculation or addition of the first two inputs. I created the following topics: Adding values fr...
asked by 13.06.2017 / 17:41
1
answer

Catch value of a dice and play on var

I'm developing a web server in CLP, in it will be able to get the data from an air hose, to know if the pressure is ok. I developed the code in js and I set a value to see if it worked, but now I want to get the value of this pressure and if it...
asked by 13.06.2017 / 19:49
1
answer

Getting forms data in php with cycles

I need to use some PHP loop to get the form data on a rendering page. I thought of putting a count variable inside an input name ID box, like this: $c=1; while($c <= 5) { $tabela[$c]= $_POST['nome$c']; } You could print later using:...
asked by 15.06.2017 / 03:14
1
answer

Jquery-Ui.css Css is blocking page elements

My elements are arranged on my screen. However due to the use of the jquery.Tab plugin css is blocking the elements of the page. Index.phpCode<!doctypehtml><htmllang="en"> <head> <meta charset="utf-8"> <meta name=...
asked by 15.06.2017 / 00:02
1
answer

How do I get information from the first three rows of a table?

I have a table with several lines loaded, however I need to get information from the first three lines and store in a variable without having to use the click function. With this information stored in a variable I will assign to a field t...
asked by 17.06.2017 / 19:06