I’ve got this little snippet of jQuery:
$('#showlink').click(function(){ $('#linkwindow').show('fast'); $('#linkwindow input').focus(); }
How do I call the focus only after the fade has ended? Sometimes it happens slightly before and I end up with a weird rendering bug.
Try this, using the callback parameter.