Questions tagged as 'jquery'

3
answers

Back to Top

I need to have a fixed icon on the page in the lower right corner of the screen. By clicking this icon it returns to the top of the page, making Scroll scroll to the top of the page. Can anyone help me? I'm a beginner and I have a hard...
asked by 28.08.2014 / 20:20
3
answers

Difference between '$ ()' and 'jQuery ()'

It is common to see, in codes that use jQuery, references to selectors using $() . But I've already found codes using jQuery() to make selection queries . What's the difference between them? Can I use either one or have specific...
asked by 10.04.2017 / 14:51
5
answers

How do I mark and unmark a row in a table by clicking on it?

When you click on a line in a table, how to mark it by changing the background color of the line, and if you click again uncheck the background, and if you click on another line, deselect the old one and mark the new one. How to do this using...
asked by 19.02.2014 / 20:52
3
answers

How do I set a max-width to a div that increases and decreases proportionally?

My% w / w that increases or decreases proportionally is in the style of: padding-bottom: 75%; Look at this example: JSFiddle What I want is that the div that grows proportionally will lock the size when it hits the footer. If...
asked by 06.02.2014 / 15:09
3
answers

Wait for Ajax return in synchronous function

I have an operation that I need to perform synchronously, but some of the information I need can only be obtained via Ajax. I tried to make everything synchronous with a wait for the Ajax return. The problem is that while any function is runn...
asked by 18.02.2014 / 21:01
3
answers

How to put Html snippet on all children elements except the last one?

I have a dynamically generated table, and I want to put input inside every td . I can get the id of tr , so I do: $("#id").children().html("<input type='text' value='" + valor + "' />"); So it puts a input wi...
asked by 12.01.2016 / 14:47
1
answer

Is a framework based on a programming language?

I know that a framework is like an application to be used in applications, but is it correct to say that a framework is based on a certain language? Example:    jQuery is a JavaScript-based framework And what's the difference of a fr...
asked by 13.04.2015 / 03:54
1
answer

List states, cities and neighborhoods in register form [closed]

I have a table called "advertisement", where I need to register the information coming from other 03 tables, they are: State Tables, Cities and Neighborhoods. The purpose is for the user to register the properties via the form, adding info...
asked by 19.11.2015 / 02:13
1
answer

How to create a dynamic progress bar considering all the fields of a form?

I'm trying to create a progress bar a little different from the ones I found out there. This , for example, gets the values of the fields and plays in aria-valuenow of the progress bar. In my case, I want to get the fields that...
asked by 17.12.2015 / 05:00
2
answers

How to determine which HTML element and / or event called a function?

I have a function called by two different HTML elements and each of the elements calls the function through a certain event. $("#tempoInicial").on("blur", manipulaTempoFinal); $("#operadorTempo").on("change", manipulaTempoFinal); function man...
asked by 24.02.2014 / 21:14