Hey,
You can blur any other element by calling the basic jQuery blur event.
Try:
$(function() {
$("#selectable").selectable({
selected: function(event, ui) {
$("*").blur();
}
});
});
Grz,
Steven
http://www.b-hind.eu
http://www.lotsofdots.be
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Shedokan
Sent: zondag 9 augustus 2009 23:00
To: jQuery UI
Subject: [jquery-ui] Re: unfocus(blur) when clicking on a selectable field?
here I uploaded an example:
http://shedokan.110mb.com/jquery/selectable-unfocus.html
try to click inside the textarea and then click on a selectable element
(a number in this case), and you'll see that the textarea is still
focused.
On 9 אוגוסט, 21:46, "Steven Lots" <[email protected]> wrote:
> Hey,
>
> Can you be a little more specific about the problem?
>
> Paste a link or some code.
>
> Grz,
>
> Steven
>
> Http://www.lotsofdots.behttp://www.b-hind.eu
>
> This e-mail is confidential. It is also privileged or otherwise protected by
> work product immunity or other legal rules. The information is intended to
> be
> for use of the individual or entity named above. If you are not the intended
> recipient, please be aware any disclosure, copying, distribution or use of
> the
> contents of this information is prohibited.You should therefore delete this
> message from your computer system. If you have received the message in
> error,
> please notify us by reply e-mail. Thank you for your co-operation.
>
> -----Oorspronkelijk bericht-----
> Van: [email protected] [mailto:[email protected]] Namens
> Shedokan
> Verzonden: zondag 9 augustus 2009 19:45
> Aan: jQuery UI
> Onderwerp: [jquery-ui] unfocus(blur) when clicking on a selectable field?
>
> I have a selectable element with several sub elements with textareas
> in them.
> when focusing on one of those textareas and then clicking on the
> selectable element the textare focused doesn't unfocus(blurs).
>
> how can I make it unfocus(blur)?
>
> thanks
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.48/2292 - Release Date: 08/09/09
08:08:00
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---