collapse jquery treeview plugin when focusing on another element

Posted by Andy Simpson on Stack Overflow See other posts from Stack Overflow or by Andy Simpson
Published on 2010-04-01T08:50:12Z Indexed on 2010/04/01 8:53 UTC
Read the original article Hit count: 322

Filed under:
|

Hello all,

Is there a way to have the jquery treeview plugin automatically collapse when a user focuses on another element.

More detail about what I am trying to do:

I have a form where a user has to select an item from a large selection. To make this easier I have set up a small list of 5 commonly selected items each with associated radio select buttons. However if the item wanted is not in this common list the user has to use the treeview to search through different categories to find the item. Is there a way to collapse the treeview when the user clicks on one of the radio buttons from the common item list?

Thanks for your help in advance, Andy

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about treeview