I am trying to detect if two divs collide each other using query ui
I have something like
<div id='test' >
<img src='img1.png'/>
<div id='sensor'></div>
<img src='img2.png'/>
</div>
<img id='target' src='target.png' />
js
$('#test').draggable();
I need to detect if the sensor
div inside the test
div collide with the target
image. Is this doable using Jquery UI? Thanks for the help!