Questions tagged as 'jquery'

1
answer

How to retrieve PHP array for comparison in javascript?

I have a code in javascript that sends some elements of the page to another in PHP via ajax and there are some comparisons. Then it returns this array with the print_r () function: However, I'd like to use return for a second javascri...
asked by 14.09.2017 / 04:07
1
answer

Override default browser CTRL + F for a jQuery event

In the modification in question, the search field within the table is hidden, and I activate it with a 'enable search' button. What I want to do is to enable this search with the keyboard, preferably CTRL + F, to do this is simple: $...
asked by 13.09.2017 / 15:59
1
answer

Filter a html table with a button

I have an HTML table for call management <table class="table"> <thead> <tr> <th>Protocolo</th> <th>Problema</th> <th>Situação</th>...
asked by 13.10.2017 / 12:57
1
answer

Jquery Form Validation Error div position in select fields [closed]

How to change the position of error text in select2 fields. is popping up on the field, I want it to appear below! Any tips? <!--/field--><divclass="col-md-3"> <div class="form-group"> <label class="control-label">SEX...
asked by 16.10.2017 / 13:36
2
answers

Calling Jquery Function in an Angular Controller

I have a file with functions jquery , and I need some functions that are in it to use within controllers in the angle, but always have JS error that functions are not defined. jquery $(document).ready(function () { functi...
asked by 16.10.2017 / 14:40
1
answer

How to reset an input type="file"?

I have the following code: $(function() { // Multiple images preview in browser var imagesPreview = function(input, placeToInsertImagePreview) { if (input.files) { var filesAmount = input.files.length; $(placeToI...
asked by 15.10.2017 / 00:20
2
answers

How to duplicate select without previous option

The code below inserts a new select when clicking the button, but this new list should only consist of the remaining items, ie the new select can not have the option selected no select previous. $(document).read...
asked by 09.09.2017 / 01:28
2
answers

Popular inputs with Json file in jQuery

I would like to know how to fill some inputs through data from a json file with jQuery. Follow the data in Json: {"data":[ {"id":"0","lNeg":"","cnpjToma":"02.558.157/1001-62","nDoc":"00121961","nPed":"5100484612","dtEmis":"01/11/2016","dtVe...
asked by 08.09.2017 / 17:17
3
answers

Disable and keep hover in click

I have three columns in one of this type <td align="center" height="240" width="380" > <img src="imagens/modelo3_thumbnail.png" alt="" class="imagemModelo"> </td> In my JS, I want the user to place the mo...
asked by 06.09.2017 / 19:36
1
answer

Sending and Removing from Bank with Jquery

Hello! I recently made another post here, but it was poorly explained. I was wanting to make a form that does an insert in the bank and also removes. I have created a small system of titles, so users can favor those they liked best. It wor...
asked by 06.09.2017 / 22:51