Possible Duplicate:
How to programmatically select selectables with jQuery UI?
Does anyone know how to manually or programmatically select a child item of a jQuery UI selectable?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This isn’t exclusive to a selectable object, but if you just want to get the html node, you can use the
:nth-child()selector found here.Depending on what you need to do with this child, this may work for you.
EDIT
I think I missed your intended meaning of ‘select’. I don’t immediately see an easy way to use the API to select an item, but you could always just add the class
ui-selectedto a child item and the css should take care of the rest. This probably won’t trigger API events, however.Or, you could just do
to select with a fake mouse click.