Questions tagged [closest]

Closest is being the nearest to a number, object, quantity etc.

Given a number of objects, the closest 2 objects would be those that the between them is the shortest.

561 questions
7
votes
3 answers

How to get value of nearest input Jquery

I have multiple buttons on my page with the same class. When I click on a button I want to get the value of the nearest input box (remember there are multiple input boxes and buttons on my page with the same classes). I have: …
user342391
  • 7,569
  • 23
  • 66
  • 88
7
votes
4 answers

jQuery closest TR selection

Hope someone can advise. Having issues trying to remove a row once a link has been clicked. HTML
Some Data
Lee
  • 20,034
  • 23
  • 75
  • 102
* Name: