Re: [jQuery] Simple modal plugin - problem with setting focus in modal window

2009-12-04 Thread Dhruva Sagar
Perhaps you need to call focus() in the callback of fadeIn(150) ? Thanks & Regards, Dhruva Sagar. On Sat, Dec 5, 2009 at 5:53 AM, Igor Benko wrote: > Hi all, > > I have this weird problem I just can't find a way to solve. I'm using > simpleModal plugin as login window and I want to set focus

[jQuery] Simple modal plugin - problem with setting focus in modal window

2009-12-04 Thread Igor Benko
Hi all, I have this weird problem I just can't find a way to solve. I'm using simpleModal plugin as login window and I want to set focus to username input upon window showing, but can't manage to do that. This is my code: $("#prijava_popup").modal( {opacity: 30, onOpen: function (d