This is using jQuery 1.3.2 btw, didn't check older versions. Perhaps
just me doing something wrong here?

On Feb 23, 5:55 pm, SteelRing <steelr...@gmail.com> wrote:
> I have something like this:
>
> $("#clickid").click(function() {
>          $("#divid").slideToggle("fast"),function() {
>                  $("#divid:visible #txtfieldid").focus();
>           });
>
> });
>
> Basically there is a textfield inside a form inside the div that I
> want to focus when the div is shown, and the clicking obviously will
> toggle the div. This works fine in FF3 but in IE6, the content of the
> div not shown although the elements take up the space (and the entire
> page moves depending when the div is open or closed).
>
> However, just the toggle without the function to focus works just fine
> in IE6.
>
> $("#clickid").click(function() {
>          $("#divid").slideToggle("fast");
>
> });

Reply via email to