Questions tagged as 'jquery'

1
answer

How to know if the file input has something?

Good morning, everyone? I'm very bad ... People like me can know that the guy selected some pc file? Type wanted to know this answer in true or false with jquery. For example it appears there: [NO FILE SELECTED] Then when the guy select...
asked by 31.12.2017 / 02:16
1
answer

How to get the value of a tag and send it to another tag with js

Hello, guys, I have a problem that is as follows. I have 4 tags, but I want to send the value of the tag that was clicked to the input value. Example: <img id="imgs" src="img_01"> <img id="imgs" src="img_02"> <img id="imgs...
asked by 30.12.2017 / 16:28
1
answer

Doubt with JQuery - Get class value and apply as background

I need a help !! I'm making a form and every checkbox will have an image, however I did not want to do manual by css every check, I wanted a script that I already made automatic. I can do this with the click () function, but I needed it to...
asked by 29.12.2017 / 14:28
1
answer

Split Error by Zero - SQL Query

I have the following query below, however, when I run it, the following message occurs: erro de divisão por zero . I tried to use the nullif function, but to no avail. How to solve? SELECT count(f.SolID) / cast(dbo.horas_uteis_tra...
asked by 05.12.2017 / 17:49
1
answer

change class label according to text

Can anyone help me with this js please? I need the label to change according to the text, if it is "victory" it is success and for "defeat" it gets danger, it follows code below: Note my $ {resultad.statusResults) brings the bank only "Vic...
asked by 27.11.2017 / 19:03
0
answers

Codeigniter3 / Mysql - Select List

Good morning, people. I'm working on a code using Codeigniter, which has a registration form. This form has three Dropdown (State, City and Neighborhood), and the data is returned from the bank, according to the selection, ie if I select the...
asked by 27.11.2017 / 12:32
2
answers

How to calculate the total value in a dynamically created table?

I have the following code that creates a table in jquery. The problem is that I wanted to create a subtotal that summed all the values in the total column. But I can not because the table is created dynamically. Any suggestions? Follow the co...
asked by 14.11.2017 / 20:18
1
answer

Redirect with jQuery and PHP

I have two pages, where one is the .js which makes the ajax call to a routine in PHP to validate a user: link Another page in PHP that is the call of this previous routine where I will validate the user by his login and password to s...
asked by 14.11.2017 / 01:45
0
answers

Can you handle the submit form event with jquery in order to change the values sent to the server?

I have a server in java that receives an object with even other objects inside the object. I would like to know if it is possible to change the submit in such a way that it can change the structure allowing to place an object in json in the form...
asked by 14.11.2017 / 23:04
2
answers

How to use jquery $ in wordpress?

Wordpress indicates using the following code: ( function( $ ) { // Your code goes here } )( jQuery ); But I'm using zurb foundation 6, and I think this will not be enough to run it along with wordpress Jquery, since the foundation itsel...
asked by 12.11.2017 / 02:33