Questions tagged as 'jquery'

3
answers

How to check the ID value of a tag and how often does it repeat with Jquery?

Personal I have an excerpt of a code referring to the image below Thefirstdivshowsalistofstudents.Inthesecondthestudentsthattheuserchooseforhisgroup,asheclicksontopofeachstudentIhaveajqueryfunctionthatinsertsthestudentintothedivgroupandlimitshi...
asked by 13.04.2016 / 19:39
2
answers

Show / Hide div by changing the icon

I have the following Snippet , where by clicking on the the div content is shown (revealed) and clicking on the thecontentofthediviscollapsed(hidden),howevertheimagesarenotchangingcorrectly,doesanyoneknowhowtofixit!? // Script para...
asked by 02.03.2017 / 12:36
2
answers

How to leave an element with page height all the time?

I have the following problem: I need to let a div have the height of the screen time. <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" id="topo">...</div> </div> <div class="row"> <...
asked by 12.11.2015 / 13:55
3
answers

Catching callbacks from an ajax

For example: var teste = $.ajax({...}).done( function() { alert('Callback Done!') } ); Where does this function defined in done () go? I already looked in the integer object using the Chome console, but I did not find where these callbacks...
asked by 15.11.2015 / 01:29
2
answers

How to remove only the parent element, without removing the children

How to remove only the parent element, without also remove child elements with jQuery. Having this structure for example: <a href="#"> <p>A</p> <p>B</p> <p>C</p> </a> With the in...
asked by 21.12.2016 / 17:46
1
answer

"clear" written text in input A and rewrite it in input B using jquery

I have < input type="text" id="A" > , I would like that when entering any text in this input, it was rewritten in input B, but before the text is rewritten, I would like it to be "cleaned". This cleanup is to remove special character...
asked by 13.04.2015 / 02:57
2
answers

Show and hide a div by clicking on the same link

How do I show a div when I click on a link and hide again when I click on the same link?     
asked by 29.06.2015 / 23:24
2
answers

How to hide a div just in firefox

Hello, In what way is it possible to hide a <div> only in Firefox and display in other browsers?     
asked by 01.07.2015 / 22:25
1
answer

Lock scroll scrolling across screens

How do you block the scrolling of the page by the keys with jquery, up key (38) and down key (40), leaving the scrolling only with the mouse?     
asked by 26.07.2016 / 16:16
3
answers

Calculate Present Value in Javascript

I need to calculate the present value equivalent to the Excel formula, I have the following data: VP (2.5%; 48; -2052.50) that excel does not return me the value of 57,000.00 rounding down. Can anyone help with this in javascript? I tri...
asked by 30.06.2016 / 22:30