Focus an input field in a dialog
Hey all, I'm using jQuery UI v1.6rc2. I'm trying to focus an input field in a dialog box when the dialog box is opened. I've tried putting "$(idSel).focus()" inside my dialog open function, but it doesn't work. I've had luck doing a setTimeout(), but that seems really kludgy. I've tried adding in a focus function and doing it there, with no luck. Anyone have an idea how to accomplish this?
Thanks
Tim