Questions tagged as 'jquery'

2
answers

Get multi-field value

I'm done with each of a form that contains input and select . The post of this form is done in json with ajax. My script today gets the values of 2 input like this: var name = $('#news-nome').val(), email = $(...
asked by 27.09.2016 / 18:11
1
answer

JqueryUI autocomplete does not refine search

When using the autocomplete of Jquery Ui I have had a small problem. I am performing an ajax search to feed a text field. In this field a discipline is searched for and the autocomplete mounts the auto-suggestion menu. The search and presenta...
asked by 23.09.2016 / 17:51
1
answer

jQuery Click does not work on results coming from $ .post

I'm developing a delete button on the product form that I have, it works like this Category 1 (Radio Button) Category 2 (Radio Button) After selecting a category, it sends a jQuery command to the $ post function and creates...
asked by 14.10.2014 / 07:09
2
answers

Return boolean function via ajax

I have the following ajax call on my page: $.ajax({ url: 'EquipamentoTemControleFuncionamento', data: { contratocod: contratocod, numeroserie: numerodeserie }, type: 'POST', dataType: 'JSON', success: function(retorno) {...
asked by 09.09.2016 / 19:57
0
answers

Display dialog with primefaces when clicking on an emptyMessage of a p: autoComplete

Well I'm using Primefaces I have a field p: autoComplete to look for Employees, I would like that when I typed a name and no results were found it would display the message "No employee found, click here to register "(display the message I alre...
asked by 10.09.2016 / 14:53
0
answers

Using two JSON files with JQuery [closed]

Good morning / afternoon / evening, I'm doing a college job trying to put 2 JSON files and compare a key, for example, the first file will have several addresses and a key relating them, that key I put as "key" : 1, and in the second file will h...
asked by 28.09.2016 / 01:32
0
answers

Create function padLeft with keyup

I'm trying to create a function where the user reports a 6-digit number + the year For example: If I type: 12016 = > 000001/2016 If I type: 122016 = > 000012/2016 If I type: 1232016 = > 000123/2016 If I type: 12342016 =...
asked by 29.09.2016 / 01:09
0
answers

Captcha script only working in a form only

Good afternoon, I'm having a problem with a code. in the site contacts page, by default it brings information from the parent store, however I have a dropdown, where the client selects the desired branch and the content changes. However,...
asked by 28.09.2016 / 21:42
1
answer

Duplication in Datatables.net jquery

I have Modal window that adds Client Address, the problem is that the added addresses are duplicated, I'm using Datatables.net to list the addresses. The process to add the addresses is executed in the client, that is, you can add n address...
asked by 06.10.2016 / 00:46
1
answer

Ajax requests in parallel

I have a system that has some things that you use long polling, this messes up everything, any button that you click (that makes an Ajax request) will take a long time because it has the long polling running. Ajax by default creates a queue o...
asked by 06.09.2016 / 03:12