views:

215

answers:

2

I am using both JQuery UI Dialog and JQuery UI autocomplete both have the same erroneous behavior when they popup, the position is always 0,0! I have tried some different position arguments when popping up the dialog but non seems to help.

Any clues? Is this a bug in the position calculation in JQuery? Or is this some css bug?

Versions are 1.4.2 and 1.8.0

+3  A: 

Ok I found out that this error was caused by a external jquery script plugin called jquery.dimensions... - "As of jQuery 1.2.6, the dimensions plugin has been merged into core." So I just removed the plugin and now everything is working as expected.

Okku
If there was a programmers fantasy league I'd draft you #1 overall. I nearly shattered my PC's screen trying to track this down.
avirtuos
Seriously I just spent a couple of hours trying to figure out why the $%@^#%^@#% autocomplete results were showing up at the top of my page. Thank you!!!!!!
Breadtruck
A: 

If Okku's answer doesn't fix things, you may find you've forgotten the file jquery.position.js from your includes.

Luke H