Questions tagged as 'jquery'

3
answers

Validate file size, file size, and file type

How do I validate the file size, the size of the image, and the file type that will be used in Upload before submitting? In order to upload I use the function below in PHP, but the validation happens only after sending the form through POS...
asked by 19.08.2017 / 03:53
2
answers

How to write data without the Jquery masquerade using Cakephp3

I have a system in CakePHP 3.4.5 and I am using jquery to apply mask in the fields cep, cpf, cnpj and etc. How do I save the data without the mask? I call Jquery in my default.ctp which is in my layout folder. echo $this->Html->scrip...
asked by 29.05.2017 / 19:36
1
answer

Putting delete method inside an append Jquery

I have the following situation, I make an append and inside it I need to send a delete method, to treat it in the web service I'm having doubts, I've already tried to create a form inside, but it does not work, detail if I put the link " link '...
asked by 13.06.2017 / 15:52
1
answer

how to load read JSON file in JS and load search result in HTML code?

I made this javascript code in a .js file, where my intent is to get the data from a JSON file and use it in my HTML. I do not know how to use the $ .getJSON function in my code to do this and put one thing together. Thanks for any help. funct...
asked by 13.06.2017 / 20:33
1
answer

How to traverse all columns of a table with jquery and hide if it is empty

I have a table html with 15 lines and I need to go through all the columns and check if there is any value, if Column is equal to empty then hidden column, this example below hides the position 5 column, but how to traverse the columns?....
asked by 17.06.2017 / 05:10
3
answers

Adding inputs with jquery and real-time

I need a jquery script to do the following: TOTAL = Fine + Interest - Discount. that computes even if one of the 3 inputs is not filled. I found some examples on the internet, but everyone needs an action, a function or a button to pres...
asked by 09.06.2017 / 20:14
1
answer

Refresh contents of a .load ()

I wonder if it is possible to update the contents of a load. Example: I have a form on the "submit_form.html" <form action="submeter" method="post"> <input type="text" name="nome" value="" /> <input type="submit" value="Env...
asked by 12.06.2017 / 21:53
3
answers

Add values of two inputs and show in third

I'm a beginner in jQuery and I'm not able to add the values of two different inputs and show a third input the result without refreshing the screen. Could someone help me? These are the form fields: <div class="form-group" id="formvalor"...
asked by 12.06.2017 / 22:54
2
answers

How to make a DIV disappear after a few seconds

In my adventure to discover html / php, I came across another problem. I have a DIV, where the user data appears after a correct login, and would like to make that DIV disappear through javascript. This is my index.php: <?php include('se...
asked by 12.06.2017 / 13:31
2
answers

Adapt JQUERY to HIDE and Show

I would like to adapt my JQUERY function so that when you uncheck the "It's cross" checkbox disappears the text field txt_endereco_ocorrencia_02 disappears and the txt_endereco_ocorrencia_numero field appears, only you can make the...
asked by 29.06.2017 / 00:30