Questions tagged as 'jquery'

2
answers

Consume API (JSON) in form fields, how to do it? [closed]

Hello, fellow programmers. I would like some help. I have to use in a project the API that includes the Fipe Table data in JSON format ( link ). I want my form to have four fields, which are: Brand, Model, Year, and Value. When I select...
asked by 25.11.2015 / 11:28
2
answers

how to make an event using the enter key?

I would like to know how I can make a system type onclick or click for jQuery. When the user presses the enter key on a form it automatically clicks the button and sends the form with click . I know how to do but...
asked by 23.09.2015 / 20:09
2
answers

How to make a progress bar? [duplicate]

I have a page that loads via jQuery load. Within this page there is an SQL query that takes an average of 8 seconds. I would like to put some indication that the query is loading, it can be a progress bar, display percentage, a circle runni...
asked by 26.10.2015 / 12:03
3
answers

Deselect all checkboxes when returning to the previous page

I'm developing a software and noticed a flaw: when the user returns to the previous page, the checkboxes are still marked. How do I uncheck all of them?     
asked by 22.12.2017 / 20:33
3
answers

Capture content to be pasted

I need to capture the contents of a text that will be pasted into an input before the glue happens. I've already captured the collage event: $(input).on("paste", function (evt) { /* evt contém tudo sobre o evento menos o conteúdo */ });...
asked by 25.09.2014 / 23:39
1
answer

How to iterate over a JSON file to appear in the Auto Complete listing?

I am doing an autocomplete, via AJAX , which enters the Web service, "search in the Bank" and returns me a String in the format JSON . I have to transform the JSON down into a list to iterate over it. In data.d I...
asked by 08.10.2014 / 15:59
1
answer

Why inArray does not detect uppercase?

I do not understand why when I search for PALAVRA inArray() jQuery does not find it. But if I look for palavra gives positive, when in array it is PALAVRA . The first test I expected positive does not work, why? I...
asked by 22.09.2014 / 20:48
4
answers

Effect with jQuery crashing without reasons

I'm using the following jQuery command: var timer1; SemConflito("#lp-1").on('mouseover', function(){ clearTimeout(timer1); timer1 = setTimeout(function(){ SemConflito("#lp-1-hover").stop().sli...
asked by 22.08.2014 / 14:47
1
answer

Focus on the first field enabled in the form

In this way I activate the focus in the first field of the form that is not hidden : $('form:first *:input[type!=hidden]:first').focus(); How do I activate focus in the first field of the form that is not hidden and is n...
asked by 20.01.2017 / 19:58
3
answers

Effect on jQuery [closed]

How to make an effect in jQuery, that when using the SCROLL the divs and the elements appear in fadeIn, like in that site: link     
asked by 29.01.2014 / 19:01