I am not sure if that would be considered a jquery bug, but i can try to
help u with a work around...

$('fieldset#box').slideToggle('fast',function(){
if($('input#title').is(":visible")) {
  $('input#title').focus();
});

untested... but u get the idea.

-GTG


On 7/17/07, Leandro Vieira Pinho <[EMAIL PROTECTED]> wrote:


If I use this function:

...
$('fieldset#box').slideToggle('fast',function(){$
('input#title').focus();});
...

In IE 6 when we give the second click in the element, this browser
return an wrong says that it´s impossible to set the focus in an
object that isn´t visible.

So, all the functions break.

It´s a bug in jQuery especefically in IE? Cause in FF and Opera is
normal.


Reply via email to