tags:

views:

42

answers:

2

Hello everyone,

I need to call javascript function when div position is changed.how can I achieve that event of changed div position ?.

any idea ?

A: 

If you change the div position by using Drag n Drop. you can use onDrop function on DRAGGABLE DIV.

Salil
no,Div position is not change by drag n drop but it is change automatically.
Jimit
automatically? are you updating your page using ajax or what? please explain it in detail so that one should be able to help you.
Salil
I am using SetTimeout function to move div and I want to call function to get that div position.
Jimit
You utilize a function for your set SetTimeOut right? Just add the function which is supposed to be called after you change the x and y coordinates of the div. HTH
Raja
A: 

By using the onclick function in the div

sam