0

I have a object with position:fixed that I'm moving around a page in response to certain input from the user. I'd like to be able to select the dom element under that div using javascript/jquery. Anyone have any ideas?

Chris
  • 3,184
  • 4
  • 26
  • 24
  • By 'under'...do you mean contained by the div, or physically under as in a greater Y coordinate with the same X coordinate? – Steve Wellens Feb 29 '12 at 02:08
  • Take a look at http://stackoverflow.com/questions/5598953/find-elements-that-are-stacked-under-visually-an-element-in-jquery – Nir Levy Sep 20 '12 at 06:57

1 Answers1

2

By 'under' I am assuming you mean the DOM object that is visually under (covered) by your position:fixed div. In that case, you might find this answer useful:

Using jQuery to find an element at a particular position?

Community
  • 1
  • 1
Todd Chaffee
  • 6,754
  • 32
  • 41