I'm doing a little application using jQuery and JQuery ui.
I've defined a dragable div, and it works perfectly, but I want to set the position of the div when a click a button...
I read here in stackOverflow to do this:
element.position().top = topUserDefined;
element.position().left = leftUserDefined;
I did an alert of element.position().top before and after this assignment and the new value it's not assigned, it keeps the original one...
Any Idea??? Thanks!