Chris Jordan wrote:
Bump.
Can anyone shed some light on this?
Thanks heaps,
Chris
On Jul 4, 3:42 pm, Christopher Jordan <[EMAIL PROTECTED]>
wrote:
Okay, just an update for anyone thinking of helping. I ran the dialog
page by itself (sans thickbox) and the focus gets set just fine. So this
is somehow related to thickbox.
I would greatly appreciate any help.
Cheers,
Chris
Chris, which browser did that error occur in? I had a similiar one in IE
when trying to focus (accidently) a form control that was hidden (in
another tab for example). I filtered hidden ones and that worked out.
So maybe you're trying to access that element just a little too early.
Try a little timeout or maybe Thickbox also has an onShow callback
(Thickbox Reloaded has ;-)).
Another thing to look for (I also ran into this): Make sure your
selector to fetch the input to get focus accidently matches an hidden
input...
--Klaus