Hi!
I need a function that returns the cordinates of an object (that is being
dragged) when the "onStop" attribute is called.
Somthing like this:
<script type="text/javascript">
$(document).ready(
function()
{
$('.draggable').draggable({
onStop : function(x,y) {
alert("X: "+x+" Y: "+y);
}
})
}
);
</script>
Thanks!
Carl-Fredrik Herö
--
View this message in context:
http://www.nabble.com/function-returning-the-cordinates-in-Interface-Elements-%22Draggables%22-tf3175193.html#a8809089
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/