I have a jQuery.dialog who show a form.
The first input is <input type="text" class="datepicker" />
and I init the datepicker like this jQuery('.datepicker').datepicker()
.
The problem is when the dialog is opened, it focus the first input. So the datepicker is also opened.
The dialog's event open
is run before the focus is putting on.
So, how can i blur the first focus to the datepicker stay hidden ?