Hello
I got this little problem. I cant get the current position of JQuery after I move it. Seems like it wont update its position. It just gives the first one.
Another problem I came up with was that the dragStop event wont work either..
Hello
I got this little problem. I cant get the current position of JQuery after I move it. Seems like it wont update its position. It just gives the first one.
Another problem I came up with was that the dragStop event wont work either..
$('#idOfYourDialog').dialog('widget').position();
use the 'widget' flag to get the ui-dialog (the div that is your dialog) to get it' parameters.
As for the dialog drag-stop - are you binding in the init or through bind? Can you post a code sample?
Hmmm... I have this ajax function that calls content from the server. That might be the problem.
I have it like:
$.ajax({
url: href,
success: function(data) {
if(handleAjaxErrors(data)==false) {
openWindowsCount++;
$(data).dialog({